-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>enhancementTeam:SearchMeta label for search teamMeta label for search teamhelp wantedadoptmeadoptme
Description
Request
Rename field_masking_span to span_field_masking.
Explanations
Currently the Span field masking query is the only span_* to end with _span instead of starting with span_
The query builder is coherent with this naming and should be updated accordingly
elasticsearch/server/src/main/java/org/elasticsearch/index/query/QueryBuilders.java
Line 377 in 4e740c2
| public static FieldMaskingSpanQueryBuilder fieldMaskingSpanQuery(SpanQueryBuilder query, String field) { |
Lucene had the right naming:
The span field masking query maps to Lucene’s
SpanFieldMaskingQuery
Of course this is a Breaking Change so it should not land before 8.0.0. This is also not critical, but this could improve the naming consistence of all span queries.
Metadata
Metadata
Assignees
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>enhancementTeam:SearchMeta label for search teamMeta label for search teamhelp wantedadoptmeadoptme