开发者

How do solr implement filter search

开发者 https://www.devze.com 2023-04-08 22:16 出处:网络
Can anyone point me to the piece of solr source c开发者_运维技巧ode which performs filter query (excecuting the fq=). Solr\'s main façade to Lucene is SolrIndexSearcher. In particular the getDocListC

Can anyone point me to the piece of solr source c开发者_运维技巧ode which performs filter query (excecuting the fq=).


Solr's main façade to Lucene is SolrIndexSearcher. In particular the getDocListC function seems to do the actual passing to Lucene.

Filter queries and other parameters are passed via a QueryCommand class, you can see that filter queries is simply a list of org.apache.lucene.search.Query, just like the "main query".

0

精彩评论

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