Skip to content

[Queries] make "Span field masking" consistent with other span queries #63527

@homersimpsons

Description

@homersimpsons

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

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions