I wanted to search documents based on one of it's property using rest api in marklogic. Here is the document -
{
"id" : "101",
"sectionName" : "PI"
"firstName" : "I",
"middle name" : "Me",
"last name : "Myself",
"emailId" : "aaa@gmail.com"
}
Lets say, i want to search documents based on sectionName and order by id then what will be my rest query?