lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wang" <john.w...@gmail.com>
Subject Re: setting position value at indexing time
Date Tue, 20 Nov 2007 03:12:18 GMT
Yes, I am.

The UID example Michael gave provides a way for us not to branch from
lucene code base.

I am trying to improve on it by storing the uid using position (since
position info is not used for ids) which would buy use in load time
quite a bit.

-John

On Nov 19, 2007 4:28 PM, Yonik Seeley <yonik@apache.org> wrote:
> On Nov 19, 2007 6:39 PM, John Wang <john.wang@gmail.com> wrote:
> > oh, is there a way of opening that?
>
> Well, you can keep track of position increments yourself and then
> choose the correct position increment so that the position you want is
> indexed.  AFAIK, positions increments must be positive , so you can't
> go backwards.
>
> It sounds like you are trying to use positions as payloads?
>
>
> -Yonik
>
> ---------------------------------------------------------------------
> 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