How to get facet_queries data using SolrJ

I did not find any way to do this. Is it possible?

thanks

+3
source share
1 answer

You can get facet queries using the getFacetQuery () method , and you can add facet queries to the solr query using the addFacetQuery () method .

The following sample test provided by Solr has some good examples of using facet queries with SolrJ: SolrExampleTests.java

+8
source

Source: https://habr.com/ru/post/1715526/


All Articles