Exactly what method in which class of which version of lucene are you trying to override? There is no "Bits" method. There is no "indexReader.Documents" method.
I said this earlier in this thread: Presumably you're aware of the transient nature of lucene internal docids and the per-segment complexities and everything. I would now add: if not, don't do this. -- Ian. On Mon, Oct 22, 2012 at 9:38 AM, sxam <sx...@yahoo.com> wrote: > Hi, > I try to set the filter but I encounter the following problem - while > overriding Bits method, how do I know the document id from the indexReader I > get in the method? > I can see the documents by indexReader.Documents, but no id there.. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Restrict-Lucene-search-in-concrete-document-ids-tp4013905p4015074.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org