lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: setting position value at indexing time
Date Mon, 19 Nov 2007 21:22:52 GMT
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


Mime
View raw message