lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: [PMX:FAKE_SENDER] Re: large OR-boolean query
Date Fri, 25 Sep 2009 15:08:47 GMT
On Fri, Sep 25, 2009 at 10:52 AM, Luo, Jeff <jluo@cas.org> wrote:
> Based on what is suggested by two other responses to my question, I
> think it is possible that the master can pass the original large query
> to each shard, and each shard will split the large query into 100 lower
> level disjunctive lucene queries, fire them against its Lucene index in
> a parallel way and merge the results. Then each shard shall only return
> 1(instead of 100) result set to the master with disjunctive faceting
> counts. It seems that the faceting problem can be solved in this way. I
> would appreciate it if you could let me know if this approach is
> feasible and correct; what solr plug-ins are needed(my guess is a custom
> parser and query-component?)

A custom query type that does this big parallel OR, and a
QParserPlugin that creates that query.  No changes to any search
components should be needed.

-Yonik
http://www.lucidimagination.com

Mime
View raw message