Best Practices for facet field performance

  • Keep facets to a maximum of 40. This is not a hard limit. However, performance degradation becomes noticeable when the maximum is reached.
  • Facet values should not exceed 1,000.
  • Each facet value’s name should be under 200 characters.
  • Only include facets when they are necessary.
  • When making a request to the Item Search API, omitting include=facets from the request URL ensures that the facets are not generated and returned. This improves performance.
  • If you do need facets, but you know you can exclude specific ones, then using facet.exclude in your request URL can remove that facet from the results.

Leave a comment

Your email address will not be published. Required fields are marked *