Hi,
You need to add a NumericDocValuesField here as well - Point is for searching,
Stored is for display.
Alan Woodward
www.flax.co.uk
> On 21 Oct 2016, at 10:54, Ludovic Bertin wrote:
>
> Hi,
>
> When I'm trying to launch search with ordering, but it fails with exception :
> unexpected do
Hi,
When I'm trying to launch search with ordering, but it fails with exception :
unexpected docvalues type NONE for field 'LOCAL_TIME' (expected=NUMERIC).
Re-index with correct docvalues type.
For indexing:
doc.add(new LongPoint("longValue", (Long) value));
doc.add(new StoredField("longValue