TermsFacetFor is only giving me 10 terms, but I now there should be more. Here is my query for retreiving the facets:
var result = GetDealersQuery() .TermsFacetFor(x => x.CountiesList) .Take(0) .GetPagesResult(); List<string> terms = result.TermsFacetFor(x => x.CountiesList).Select(x => x.Term).ToList();
Is there a default count on facets? I have tried using Take without success. I can see that result is returning all the pages of interest.
10 is the defailt number of items returned for a facet. To have more returned use:
GetDealersQuery() .TermsFacetFor(x => x.CountiesList, x => x.Size = 20) .Take(0) .GetPagesResult();
Henrik, you're the bomb! :) Thanks!
TermsFacetFor is only giving me 10 terms, but I now there should be more. Here is my query for retreiving the facets:
Is there a default count on facets? I have tried using Take without success. I can see that result is returning all the pages of interest.