How to retrieve “facet_queries” data with SolrJ

爷,独闯天下 提交于 2019-12-12 09:57:21

问题


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

Thanks


回答1:


You can retrieve facet queries using the getFacetQuery() method and you can append facet queries to a solr query using the addFacetQuery() method.

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



来源:https://stackoverflow.com/questions/1299732/how-to-retrieve-facet-queries-data-with-solrj

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!