lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Restrict Lucene search in concrete document ids
Date Mon, 22 Oct 2012 13:12:02 GMT
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 <sxamt@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
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