Gravatar for juanpablo.albuja@verndale.com

Question by jpalbuja, Nov 7, 2015 12:11 AM

Coveo Faceting Returns Up to 16 Facets?

Hi everyone, I was trying the Coveo Faceting with Linq and is concerning to know that Coveo returns to me just up to 16 Facets?

Please confirm to me if I am wrong.

Thanks

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Nov 9, 2015 9:53 AM

Hi Juan Pablo,

As explained in this other question, The number of facet values was hardcoded to 16 up to the October 2015 release of Coveo for Sitecore. In the December 2015 release, we will introduce a new configuration to specify the default maximum number of facet values the .facetOn() LINQ method should return. It will be the configuration/sitecore/contentSearch/configuration/DefaultIndexConfiguration/DefaultNumberOfFacetValues node of the Coveo.SearchProvider.config file.

Gravatar for juanpablo.albuja@verndale.com

Comment by jpalbuja, Nov 9, 2015 10:20 AM

Hi @jflheureux ♦♦, thanks for you answer I will check on December 2015 when this issue has been figured out.

Thanks

Gravatar for juanpablo.albuja@verndale.com

Comment by jpalbuja, Jan 6, 2016 6:29 PM

Hi @jflheureux ♦♦, do this has been figured out in the December release? And If yes how can I configured this? Thanks

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Jan 7, 2016 9:54 AM

Hi @jpalbuja, yes, this is included in the December 2015 release of Coveo for Sitecore.

You can configure it by changing the value in the <DefaultNumberOfFacetValues> node of the Coveo.SearchProvider.config file like this:

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <coveo>
      <defaultIndexConfiguration type="Coveo.Framework.Configuration.CoveoIndexConfiguration, Coveo.Framework">
        <queryConfiguration type="Coveo.Framework.Configuration.QueryConfiguration, Coveo.Framework">
          <!-- The DefaultNumberOfFacetValues element defines the default maximum number of facet values that are returned from a LINQ statement. -->
          <DefaultNumberOfFacetValues>16</DefaultNumberOfFacetValues>
        </queryConfiguration>
      </defaultIndexConfiguration>
    </coveo>
  </sitecore>
</configuration>
Ask a question