Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11300

LatLonPointSpatialField does not implement getValueSource()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 6.5, 6.6
    • None
    • spatial
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ben.demott Ben DeMott
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: