OpenSearch/docs/reference/migration/migrate_7_0
Nick Knize ec0dc2c0e9
[Geo] Integrate Lucene's LatLonShape (BKD Backed GeoShapes) as default `geo_shape` indexing approach (#36751)
* [Geo] Expose BKDBackedGeoShapes as new VECTOR strategy

This commit exposes lucene's LatLonShape field as a new
strategy in GeoShapeFieldMapper. To use the new indexing
approach, strategy should be set to "vector" in the
geo_shape field mapper. If the tree parameter is set
the mapper will throw an IAE. Note the following:

When using vector strategy:

* geo_shape query does not support querying by POINT,
MULTIPOINT, or GEOMETRYCOLLECTION.
* LINESTRING and MULTILINESTRING queries do not support
WITHIN relation.
* CONTAINS relation is not supported.
* The tree, precision, tree_levels, distance_error_pct,
and points_only parameters will not throw an exception
but they have no effect and will be marked as
deprecated..

All other features are supported.

* revert change to PercolatorFieldMapper

* fix ExistsQuery for geo_shape vector strategy

* add deprecation logging for tree, precision, tree_levels, distance_error_pct, and points_only

* initial update to geoshape docs, including mapping migration updates

* initial support for GeoCollection queries

* fix docs and javadoc errors

* clean up geocollection queries

* set deprecated mapping tests to NOTCONSOLE

* fix geo-shape mapper asciidoc mapping and test warnings

* add support for point queries using LatLonShapeBoundingBoxQuery

* update GeoShapeQueryBuilderTests to include POINT queries for VECTOR strategy. Other comment cleanups

* add lucene geometry build testing to ShapeBuilder tests

* remove deprecated prefix tree mapping from geo-shape.asciidoc

* refactor GeoShapeFieldMapper into LegacyGeoShapeFieldMapper and GeoShapeFieldMapper

Both classes derive from BaseGeoShapeFieldMapper that provides shared parameters:
coerce, ignoreMalformed, ignore_z_value, orientation.

* update docs to remove vector strategy

* fix GeometryCollectionBuilder#buildLucene to return the object created by the shape builder

* fix LineLength failure in GeoJsonShapeParserTests

* ShapeMapper refactor changes from PR feedback

* fix typo in geo-shape.asciidoc

* ignore circle test in docs

* update indexing-approach ref to geoshape-indexing-approach

* add warnings check for LegacyGeoShapeFieldMapper to AbstractBuilderTestCase

* fix deprecatedParameters setup

* update indexing approach

* fixing unexpected warnings failures

* move orientation back to field type

* remove if in LegacyGeoShapeFieldMapper#doXContent. Fix GeoShapeFieldMapper to work with double array as a point

* fix indexing-approach link in circle section of geoshape docs

* add strategy to deprecation warnings check

* fix test failures

* fix typo in QueryStringQueryBuilderTests

* fix total hits to totalHits().value

* fix version number

* add version check to BaseGeoShapeFieldMapper

* fix line length!

* revert version check in BaseGeoShapeFieldMapper

* Fix serialization of mappings of legacy shapes.
2018-12-18 09:54:56 -06:00
..
aggregations.asciidoc Require combine and reduce scripts in scripted metrics aggregation (#33452) 2018-10-03 15:22:01 +01:00
analysis.asciidoc [DOCS] Synchronize location of Breaking Changes (#33588) 2018-09-27 08:41:38 -07:00
api.asciidoc Remove the deprecated _termvector endpoint. (#36131) 2018-12-03 10:22:42 -08:00
cluster.asciidoc [Zen2] Best-effort cluster formation if unconfigured (#36215) 2018-12-07 12:47:09 +00:00
indices.asciidoc lower fielddata circuit breaker's default limit (#27162) 2018-12-11 11:30:58 +01:00
java.asciidoc Remove the deprecated _termvector endpoint. (#36131) 2018-12-03 10:22:42 -08:00
low_level_restclient.asciidoc [DOCS] Synchronize location of Breaking Changes (#33588) 2018-09-27 08:41:38 -07:00
mappings.asciidoc [Geo] Integrate Lucene's LatLonShape (BKD Backed GeoShapes) as default `geo_shape` indexing approach (#36751) 2018-12-18 09:54:56 -06:00
packaging.asciidoc [DOCS] Synchronize location of Breaking Changes (#33588) 2018-09-27 08:41:38 -07:00
plugins.asciidoc Add Tribe removal to breaking changes list (#36239) 2018-12-10 10:23:58 -07:00
restclient.asciidoc [DOCS] Synchronize location of Breaking Changes (#33588) 2018-09-27 08:41:38 -07:00
scripting.asciidoc Delete deprecated getValues from ScriptDocValues (#36183) 2018-12-14 07:56:47 -05:00
search.asciidoc Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
settings.asciidoc Remove deprecated audit settings (#35205) 2018-11-08 14:06:47 +02:00
snapshotstats.asciidoc [DOCS] Synchronize location of Breaking Changes (#33588) 2018-09-27 08:41:38 -07:00