So the QParserPlugin can create multiple threads with each one of them
holding a query? 

I am not familiar with how Solr uses lucene to do the search. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Yonik
Seeley
Sent: Friday, September 25, 2009 11:09 AM
To: [email protected]
Subject: [PMX:FAKE_SENDER] Re: [PMX:FAKE_SENDER] Re: large OR-boolean
query

On Fri, Sep 25, 2009 at 10:52 AM, Luo, Jeff <[email protected]> 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

Reply via email to