开发者

how can I get top terms info from apache solr via Java API

开发者 https://www.devze.com 2023-02-16 21:51 出处:网络
I knowhttp://localhost:8983/solr/admin/schema.jsp can provide me the top terms for any given field, while how can I get them from Java API开发者_运维问答(Java client)You can use the SolrJ Java client

I know http://localhost:8983/solr/admin/schema.jsp can provide me the top terms for any given field, while how can I get them from Java API开发者_运维问答(Java client)


You can use the SolrJ Java client for Solr:

http://wiki.apache.org/solr/Solrj

and more precisely, look at:

import org.apache.solr.client.solrj.response.QueryResponse;


You can use LukeRequestHandler to get the top terms:

http://wiki.apache.org/solr/LukeRequestHandler

0

精彩评论

暂无评论...
验证码 换一张
取 消