Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Not returning all facet results


How can I get all facet results returned, as right now it appears to only be returning 9 or 10 results (doesn't appear to be consistent)


I include the facet like:

".TermsFacetFor(x => x.Category)"

and get them back with


 var categoryTerms = results
                .TermsFacetFor(x => x.Category).Terms.OrderBy(i => i.Term);


Any pointers?


Feb 07, 2014 10:05

By default, only 10 facets will be returned. To increase this, use:

.TermsFacetFor(x => x.Category, facet => facet.Size = 25)


Feb 07, 2014 10:17

In your search query that is, prior to calling GetResult/GetContentResult

Feb 07, 2014 10:18

Thanks Per, just what I was looking for! Worked a treat!



Feb 07, 2014 10:42
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.