Hi Justin,
Thanks for your reply. Can you please give me a sample to get facet in cts:search() function? Regards, Jonnna On Tue, Aug 24, 2010 at 5:22 PM, Justin Makeig <[email protected]>wrote: > Jonna, > Welcome. The Search API (i.e. the functions that use the “search” namespace > prefix by default) is a higher-level abstraction above some of the other > built-in APIs, including Core Text Services (“cts”). It provides > conveniences like Google-style query parsing, pagination, faceting, and > context-sensitive result snippets out-of-the-box. Like the underlying APIs, > the Search API is designed for performance at scale. If you’re just getting > started, I’d encourage you to begin with the Search API. As your application > requirements (and MarkLogic knowledge) grow, you can take advantage of the > rich customization and extensibility hooks built into the Search API. > If you haven’t already, I’d encourage you to read the “Search Developer’s > Guide” <http://developer.marklogic.com/pubs/4.1/books/search-dev-guide.pdf>. > Section 2.2.2, for example, includes a chart comparing the Search API > constraints and facets with their equivalent cts:query and lexicon calls. > Again, welcome and please feel free to contact me with questions and/or > post them to this discussion list. > > Justin > > > Justin Makeig > Senior Product Manager > MarkLogic Corporation > > email [email protected] > web 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 Aug 24, 2010, at 12:18 PM, Jonna Marry wrote: > > Hi, > > I am new to Mark logic. And I am analyzing the difference between > search:search() and cts:search() functions. > > Can we get facet in cts:search() result? > > If yes,please let me know how to get facet in results of cts:search as we > get in search:search. > > Thanks in Advance. > > Regards, > Jonna > > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > > > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > >
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
