Gravatar for shabeer.thalapurath@verndale.com

Question by shabeer thalapurath, Dec 9, 2016 1:07 AM

GetFacets returning only 10 results

I am trying to fetch the facets on a computed field value. It seems to be returning only 10 values when i tried the following code

var facets = query.FacetOn(f => f["manufacturerkey"]).GetFacets();

and the fieldType in config file looks like as below

<fieldType fieldName="manufacturerkey" isFacet="true" settingType="Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework" />

Please let me know if anybody have an idea on this.

Thanks, Shabeer.

Gravatar for lbergeron@coveo.com

Comment by Luc Bergeron, Dec 9, 2016 10:09 AM

I reproduce the exact same behaviour. Changing the value of the DefaultNumberOfFacetValues setting does not work. Adding .Take() to the LINQ query does not work either.

Something seems broken, I am filing an issue for further investigation.

1 Reply
Gravatar for boboydot@gmail.com

Answer by sahaeta9, Dec 15, 2016 7:01 AM

For me it works like a charm!!!! My problem was that on large results the low cout facet was not created. Thank you so much! by p2p4u

Ask a question