lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seth Utecht <>
Subject IndexOptions & LongPoints
Date Tue, 18 Sep 2018 11:00:18 GMT
New lucene user here, so my apologies if this turns out to be something
silly or obvious.

I'm working on some legacy code that we've inherited; currently we're in
the process of moving from Lucene3 to Lucene7.

My concern is that it seems like LongPoint's FieldType has an IndexOptions
that is always NONE. It strikes me as odd, because we are in fact indexing
and searching against these LongPoint fields.

Our specific case is the following if-block:

if (field.fieldType().indexOptions() != IndexOptions.NONE) {

//do some stuff


Within it, LongPoints never evaluate to true, although the StringFields we
were using before did without any problem.

I'm not sure what I'm missing, and any help would be appreciated.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message