You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by Pablo Mincz <pm...@gmail.com> on 2015/08/18 22:20:14 UTC
Lucene 5.2.1 Spatial Strategy PointVectorStrategy
Hi,
I'm implementing a sort search by distance with a PointVectorStrategy.
In the index process I used createIndexableFields from the strategy
and makePoint from the context GEO.
But when I'm sorting the search I get the error:
Java::JavaLang::IllegalStateException: unexpected docvalues type NONE
for field 'location__x' (expected=NUMERIC)
And for what I see it is impossible to use a specific FieldType with
DocValuesType NUMERIC.
Someone know how to fix this?
Thanks a lot for the help.
Regards,
Pablo.