lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hicks, Matt" <m...@outr.com>
Subject Re: Expected Numeric
Date Thu, 29 Aug 2019 14:00:48 GMT
To clarify, this appears to be directly related to me sorting on the
timestamp field.  If I turn sorting off, everything loads and works just
fine.

On Thu, Aug 29, 2019 at 8:42 AM Hicks, Matt <matt@outr.com> wrote:

> 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