lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hicks, Matt" <m...@outr.com>
Subject Expected Numeric
Date Thu, 29 Aug 2019 13:42:17 GMT
I have three fields with the same name:

   1. new StoredField("createdTimestamp", longValue) (Store)
   2. new LongPoint("createdTimestamp", longValue) (Filtering)
   3. new NumericDocValues("createdTimestamp", longValue) (Sorting)

I'm getting the following error during execution of my application
(strangely, everything initially indexes and loads okay):

> java.lang.IllegalStateException: unexpected docvalues type NONE for field
> 'createdTimestamp' (expected=NUMERIC). Re-index with correct docvalues type.


This is the process I've followed for years and it has worked.  I don't
know if it's the migration to the latest version of Lucene or something
else I'm done, but I'm really not sure why it's complaining.  Any tips are
appreciated.

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