lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <>
Subject Re: IntField question
Date Wed, 10 Apr 2013 15:19:09 GMT

On Wed, Apr 10, 2013 at 4:59 PM, Wei Wang <> wrote:
> Okay. Since there is no ByteField, setByteValue will never by used. It
> seems like a dead function.

Right, Lucene doesn't have byte or short fields.

> That makes sense. If we don't need positional info (virtually all terms are
> at the same position), can we control this for IntField or any other Field?

You can configure a FieldType so that its postings lists only contain
matching documents without any positional information[1]. This is the
case by default on numeric fields (in particular IntField).



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message