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.
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.