Developer forum

Forum » Ecommerce - Standard features » Facet field and/or Facet terms issues

Facet field and/or Facet terms issues

Nuno Aguiar
Reply

Hi,

 

There seems to be something wrong with facet fields and terms in 8.8.1.18

  • The product name is does not return facet options for facet fields
  • The product name only returns 100 options for facet terms
  • Even when we are filtering, nothing is updated
  • (Not captured in screencast) If I set both facets to the same paramenter, then I get 200 options for both facets
    I did this by mistake, not sure if it helps narrow down or not

http://screencast.com/t/j5vJiY3V

 

Best Regards,

Nuno


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Nuno

When you create a term facet, you only get the first 100. That is the entire point - we cannot return 20.000 or more as it would break your solution.

You defined you search with an OR group... You would usually define a search used for facets in an AND group - you would not want i.e. t-shirts in size small or in color red. You would want t-shirts that are small and red.

Votes for this answer: 1
 
Nuno Aguiar
Reply

Hi Nicolai,

 

>> The product name is does not return facet options for facet fields
I understand why I don't get options now, because I have +2048 terms... Did not remember that until I read your reply.
I know that if I add ?debug=true it shows up in the Execution table, but because there was no Facet.Error tag, it was overlooked. Another way to do this was to have the UI show a message when we create a facet field and we selected a field that has +2048

>> The product name only returns 100 options for facet terms
Understood from http://doc.dynamicweb.com/forum?ThreadID=48735 

>> Even when we are filtering, nothing is updated
Reasons above apply

>> (Not captured in screencast) If I set both facets to the same paramenter, then I get 200 options for both facets
I did define it in an OR group, but I get the same result with and AND. And this is not critical, as I am pointing 2 facets to the same parameter (again, I did it by mistake). If you are confident this is not potential issue in the code, I am fine with it :)

 

Best Regards,

Nuno Aguiar

FacetField.JPG
 
Nicolai Pedersen
Reply

correct, there is a limit on 2048 terms for a field for makin Field facets - it simply cannot create a facet result set at all no matter what search is made.

That is why we introduced the term facet where you can return all (top 100) terms of a field in the context of the search. So if you create a facetted search on a huge index, once you apply enough criterias it is possible to show a facet over a field like authors that would usually contain one trissilion different values.

 
Nuno Aguiar
Reply

Hi Nicolai,

 

Yes, that makes perfect sense. I'll place a feature request for a gentle warning when setting up Facet fields with over 2048 (no particular validation), but I think it makes sense to have (since the amount of terms is already there nonetheless).

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum