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: [email protected]


> -----Original Message-----
> From: James Nolan [mailto:[email protected]]
> Sent: Friday, July 13, 2012 7:26 PM
> To: [email protected]
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to