serhiy-bzhezytskyy opened a new pull request, #173:
URL: https://github.com/apache/solr-orbit/pull/173
A converted `geo_point` became a `string` field, so every spatial query on
it failed: `{!geofilt}` answers *The field location does not support spatial
filtering*. The generated schema already declares `location_rpt`, and the
geonames and nyc_taxis schemas in solr-orbit-workloads use it for their geo
fields. The runner's `"lat,lon"` form indexes into it unchanged.
`LatLonPointSpatialField` with doc values would be closer: it indexes the
same Lucene `LatLonPoint` and `LatLonDocValuesField` as OpenSearch's
`geo_point`. On 141,684 geonames documents its `{!geofilt}` returned
OpenSearch's set at every radius from 10 to 1000 km, while `location_rpt` added
documents near the edge (207 of 19,329 at 500 km); distances agreed with
OpenSearch to within a metre with either type. The type stays `location_rpt`
here, as in solr-orbit-workloads, until a ported workload filters on a geo
field.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]