Rajesh, Without knowing more about what you’re trying to accomplish, I’d recommend starting with the Search API (or even plain XPath). The Search API is built on top of the core cts libraries and we’ve done a lot of work to make sure it performs at scale. If and when you need to do something more advanced that you can’t easily express in the Search API, it includes built-in extension mechanisms to customize the behavior. Please take a look at the “Search Developer’s Guide” <http://developer.marklogic.com/learn/4.2/search-dev-guide> for more information.
Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655 2387 email [email protected]<mailto:[email protected]> web www.marklogic.com<http://www.marklogic.com/> This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. On Mar 28, 2011, at 8:41 PM, Rajesh Marklogic wrote: Hi, i would like to perform a plain search in mark logic database. Mark logic provides two search libs/ api i.e Search:Search and CTS:Search. My search will be executed against particular element (s) or attributes and i am not using search:search api features like highlight, facet etc.,. The result should contains matched xml documents and total number of records matched. Please let me know, which api (search:search or cts:search) will be better in terms of performance and reasons behind that. Thanks in Advance. Rajesh _______________________________________________ General mailing list [email protected]<mailto:[email protected]> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
