-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Types removal - compatible changes #54160
Comments
…4197) Refactoring of the compatible infrastructure to allow registering multiple RestAction under the same path. It only extends the current mechanism which allowed registering RestAction under the same path but with different method. Now it also uses a version together with a method to find a matching RestAction This PR also provides a V7 compatible RestCreateIndexAction that needs include_Type_param and a different logic for parsing mapping from its body. fixed get/index tests CompatRestIT. test {yaml=get/21_stored_fields_with_types/Stored fields} CompatRestIT. test {yaml=get/71_source_filtering_with_types/Source filtering} CompatRestIT. test {yaml=index/70_mix_typeless_typeful/Index call that introduces new field mappings} CompatRestIT. test {yaml=index/70_mix_typeless_typeful/Index with typeless API on an index that has types} however the last one from get is still failing CompatRestIT. test {yaml=get/100_mix_typeless_typeful/GET with typeless API on an index that has relates #54160
based on compat/search branch fixed tests from delete and update directories. Delete test is still not fixed CompatRestIT. test {yaml=delete/70_mix_typeless_typeful/DELETE with typeless API on an index that has types} current state 1306tests | 174failures previously 1306tests | 197failures relates #54160
Hi, I use elasticsearch at work and I love it wanted to learn more about elasticsearch so I thought of contributing to it. I was thinking if there are issues which I can work on as a new contributor. Thanks! |
@syedsouban thank you for your interest in contributing to Elasticsearch. Have a look into these issues for the work that might be good for new contributors.
good first issue
|
…tDeleteAction the previously removed typed enpotins for Update and Delete are retrofitted in this commit the commit that removed them elastic#47671 relates main meta issue elastic#51816 relates types removal issue elastic#54160
Adds back typed endpoints for validate query api. Previously removed in elastic#46927 relates main meta issue elastic#51816 relates types removal issue elastic#54160
the per type indexing stats is simplified and when _types is requested it will return total stats for the index repeated under types/_doc/ the removal elastic#47203 relates main meta issue elastic#51816 relates types removal issue elastic#54160
This commit allows to provide _type field on document ingested in simulate pipeline requests. relates main meta issue elastic#51816 relates types removal issue elastic#54160
Previously removed in elastic#46943 parsing type field in term lookup is now possible with rest compatible api. The type field is ignored relates main meta issue elastic#51816 relates type removal meta issue elastic#54160
previously removed in elastic#42198 also adding a type for MultiTermVectorsResponse in failures relates elastic#54160 relates elastic#51816
…plate Previously the compatibility layer was alwayre returning an _doc for get template. This commit does not return _doc in mappings when mappings are empty. Returning just {} empty object also moving term lookups tests which are already fixed (relates elastic#74544) relates elastic#70966 relates main meta issue elastic#51816 relates types removal meta elastic#54160
…plate (#75448) Previously the compatibility layer was always returning an _doc in mappings for get template. This commit does not return _doc in empty mappings. Returning just {} empty object (v7 and v8 behaviour) also moving term lookups tests which are already fixed (relates #74544) relates #70966 relates main meta issue #51816 relates types removal meta #54160
Type information is no longer available, thereofre type query in v7 compatibility is working as match_all query previously removed in elastic#47207 relates main meta issue elastic#51816 relates types removal meta elastic#54160
…plate (elastic#75448) Previously the compatibility layer was always returning an _doc in mappings for get template. This commit does not return _doc in empty mappings. Returning just {} empty object (v7 and v8 behaviour) also moving term lookups tests which are already fixed (relates elastic#74544) relates elastic#70966 relates main meta issue elastic#51816 relates types removal meta elastic#54160
Type query support was removed in #47207. This query will throw an exception in v7 rest api compatibility indicating that the support was removed + deprecation warnings. In v8 it will not be available and error about type query being not found will be returned. relates main meta issue #51816 relates types removal meta #54160
all of the type related changes have been brought back under rest api compatibility (the rest layer only) |
This issue is meant to track progress on types removal compatible changes. It is a copy of a #41059 where types removal was tracked.
This is a meta issue that tracks things that must or should be done before 8.0 in order to finalize the removal of types.
relates: the main meta issue
MUST
include_type_name
in index creation, mapping and template APIs. Removeinclude_type_name
parameter from REST layer #48632 feature branch compatible Compatible logic for include_type_param and RestCreateIndexAction #54197 on master [Rest Compatible Api] include_type_name parameter #70966_type
from GET responses (Remove types from Get/MultiGet #46587)_type
from_search
responses. (Remove_type
from SearchHit #46942)_type
field (e.g. in terms lookup and percolator queries)type
query Removetype
query #47207_type
field in queries (such asterm
andwildcard
). (Add NestedPathFieldMapper to store nested path information #51100)IndexAction
(Remove type from Watcher IndexAction #47986)SHOULD
Remove types from
TermsLookup
(Remove types from TermsLookup #46943)Remove type from
SourceToParse
(Don't persist type information to translog #47229)Remove types from
IndexShard.applyXOperation
methods (Upgrade to Lucene 8.5.0-snapshot-c4475920b08 (#52950) #52977Remove code that is related to the
_default_
mapping. (Remove default mapping #44945)Remove the
_type
mapping field? (Add NestedPathFieldMapper to store nested path information #51100)InternalIndexingStats only needs one stats instance Remove per-type indexing stats #47203
KNOWN BUGS/ TRAPS
Remaining:
Removal of Types
doc to point to 7x branch Remove [removal-of-types] docs page, and point to 7x docs #53670_type
in scripts viaLeafDocLookup
Remove deprecation warning when doc scripts refer to '_type' field #53605TermsLookup#parseTermsLookup()
in 7x when type is included Emit deprecation warning when TermsLookup contains a type #53731Longer term:
String type
parameter from all internal code, eg.MapperService
.The text was updated successfully, but these errors were encountered: