lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: FilteredQuery returning entire index
Date Fri, 13 Jul 2012 17:32:08 GMT
The Filter and the BooleanQuery are handled separately and only merged
later. IndexReaders passed to Filter don't know anything about the executed
Query, so you always see a view on the complete index.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: James Nolan [mailto:nolansolrlistserve@gmail.com]
> Sent: Friday, July 13, 2012 7:26 PM
> To: java-user@lucene.apache.org
> Subject: FilteredQuery returning entire index
> 
> Hello All!
> 
> I'm trying to run a FilteredQuery over a BooleanQuery full of term and
range
> queries.  In my custom filter, in the getDocSet method, the indexReader
> contains the entire index segment.  My understanding was that this
> indexReader would only contain results from my nested boolean query.
> Am I missing something here?
> 
> Thanks,
> 
> Jim Nolan


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message