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 Mon, 19 Nov 2007 23:39:24 GMT
oh, is there a way of opening that?

In the UID example Mike gave, it seems that uid can be stored in the
position part of the data.
It would be very efficient in both load time and index size to be able
to do that.

Thanks

-john

On Nov 19, 2007 1:22 PM, Yonik Seeley <yonik@apache.org> wrote:
> On Nov 19, 2007 4:14 PM, John Wang <john.wang@gmail.com> wrote:
> >    What is the right way of setting customized position value on a
> > token at indexing time.
>
> You set the positionIncrement, and the lucene indexing code determines
> the absolute position.  You can't set an absolute position yourself.
>
> -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