Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何facet.method=enum在 SolrJ SolrQuery 中设置?我正在寻找类似的东西 solrQuery.setFacetMethod(SOLR_FACET_METHOD.enum)
facet.method=enum
solrQuery.setFacetMethod(SOLR_FACET_METHOD.enum)
我认为您将需要使用通用 setParam 方法,因为它没有直接公开。
solrQuery.setParam(FacetParams.FACET_METHOD, FacetParams.FACET_METHOD_enum)