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: u...@thetaphi.de > -----Original Message----- > From: James Nolan [mailto:nolansolrlistse...@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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org