Hi Erik, My requirement is to use the constarints which are already configured in the REST Api in the custom module which i created using resource service extention.
so can i pass the options paramenter into the Resource service and use the constarints to filter the results. consider the sample url below http://localhost:<port number>/v1/resources/<service name>?param1=value&cosntarintname:<value>&options=<name> Please suggest me if i am missing something. Thanks, Manoj. On Wed, Apr 24, 2013 at 7:14 PM, Erik Hennum <erik.hen...@marklogic.com>wrote: > Hi, Manoj: > > I'm unclear how you would like to use "structured search on the custom > modules." Can you provide more detail about the service that you need to > provide to the REST client? > > A client can POST a structured search to a resource service extension, > which can pass the payload to the search:resolve() function of the Search > API. However, what would that give you that you can't get through the > standard /v1/search endpoint? > > > Erik Hennum > > ------------------------------ > *From:* general-boun...@developer.marklogic.com [ > general-boun...@developer.marklogic.com] on behalf of manoj viswanadha [ > manoj.viswana...@gmail.com] > *Sent:* Wednesday, April 24, 2013 12:53 AM > *To:* MarkLogic Developer Discussion > *Subject:* [MarkLogic Dev General] Clarrification on Extending the Rest > API using Resource Service extention > > Hi all, > > I have a requirement to use structured query on the custom modules > created using > Rest API. For this i have created a resource service where i have hosted > my custom module on Rest API and it is working as expected. > > Can i use structured queries on created resource service as like general > search in > Rest API? I could not find any information in Rest API tutorials. Can > anyone one suggest me some solution for this. > > > Thanks, > Manoj Viswanadha. > > _______________________________________________ > General mailing list > General@developer.marklogic.com > http://developer.marklogic.com/mailman/listinfo/general > >
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general