PLANNED MAINTENANCE

Hello, DataStax Community!

We want to make you aware of a few operational updates which will be carried out on the site. We are working hard to streamline the login process to integrate with other DataStax resources. As such, you will soon be prompted to update your password. Please note that your username will remain the same.

As we work to improve your user experience, please be aware that login to the DataStax Community will be unavailable for a few hours on:

  • Wednesday, July 15 16:00 PDT | 19:00 EDT | 20:00 BRT
  • Thursday, July 16 00:00 BST | 01:00 CEST | 04:30 IST | 07:00 CST | 09:00 AEST

For more info, check out the FAQ page. Thank you for being a valued member of our community.


question

rkagan_146583 avatar image
rkagan_146583 asked ·

How to get back the facets when passing facet.limit=-1

Hi:


We just upgraded from DSE 5.1.3 to 5.1.7 and right away we lost the facets, that were returning from Solr. This is due to the fact that we sent facet.limit=-1 (unbounded facets). We had to do that due to the fact that we need to get ALL facets and show them on the site, instead of setting some arbitrary upper limit. However DataStax engineers put the breaking change that traps such setting and no facets returned. What should we send to DSE instead to get all facets (while still staying in version 5.1.7). Really appreciate for quick response.

dsedse searchsolr
2 comments
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Hi, Would you able to find any solution to the facet limitation you mentioned here ? We do have similar use case, and we are in the process of upgrading to 5.1..17. Wondering if there is any other work around other changing the Jim.options as mentioned in https://docs.datastax.com/en/upgrade/doc/upgrade/datastax_enterprise/upgdDseMinor51x.html

0 Likes 0 · ·

Apologies for having missed this question and that you didn't get an answer. Drafting one now. Cheers!

0 Likes 0 · ·

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@rkagan_146583 The unbounded facets was recently disallowed because we were seeing too many clusters getting unnecessarily overloaded when queries try to pull back tens of thousands of facets. It's an indication that maybe Solr facets are being used in a way they weren't intended for.

In DSE, the maximum number has been capped to 20K. This is an artificial limit to try and prevent queries from bringing nodes down. If you don't specify facet.limit=-1, your queries should return up to 20K facets instead of none.

@harikrishnan.nair_59682 We do not recommend that you override the default limit in the JVM options. We know that if your queries require more than 20K facets (still an excessively high number) your cluster's performance will be severely degraded. Cheers!

2 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks @Erick Ramirez , Primarily we use faceting to pull the distinct values using dse search query. Is there any option to achieve this ?


0 Likes 0 · ·
Erick Ramirez avatar image Erick Ramirez ♦♦ harikrishnan.nair_59682 ·

If you have an OLAP use case, you should use Spark in DSE Analytics. Cheers!

0 Likes 0 · ·