-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 9.3-SNAPSHOT
-
Fix Version/s: 9.3
-
Component/s: Elasticsearch
-
Epic Link:
-
Tags:
-
Upgrade notes:
-
Sprint:nxcore 9.3.7
-
Story Points:2
The _all and include_in_all fields will be deprecated in 6.0; for instance we have this warning with adapted 2.x mapping:
{10:23:17,259 WARN [RequestLogger] request [PUT http://localhost:9200/nxutest/doc/_mapping] returned 2 warnings: [299 Elasticsearch-5.6.0-SNAPSHOT-adab020 "field [include_in_all] is deprecated, as [_all] is deprecated, and will be disallowed in 6.0, use [copy_to] instead." ...
We should use new All query instead operation instead of simple_query on _all field.
The non text field will not be indexed, also we could create an explicit "all" field using the recommended copy_to operation.
See: