Ben DeMott created SOLR-11300:
---------------------------------
Summary: LatLonPointSpatialField does not implement
getValueSource()
Key: SOLR-11300
URL: https://issues.apache.org/jira/browse/SOLR-11300
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: spatial
Affects Versions: 6.6, 6.5
Reporter: Ben DeMott
LatLonPointSpatialField replaces LatLonPoint
Documented in SOLR-10039
LatLonPointSpatialField doesn't implement getValueSource(),
which causes any
query function like (*exists*, *default*, etc) to raise ...
{{"A ValueSource isn't directly available from this field.
Instead try a query using the distance as the score."}}
Which is defined in the abstract class here:
https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/schema/AbstractSpatialFieldType.java#L330
Note that query functions like this worked with LatLonPoint.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]