Skip to content

Query DSL should disallow setting boosts on inner span queries #28390

Closed
@jpountz

Description

@jpountz

This is a follow-up of https://discuss.elastic.co/t/troubles-with-complex-span-query-term-boosting/116106. It is a bit confusing that we are allowing boosts on inner span queries in spite of the fact that they will be ignored.

One idea to fix it is to make SpanBoostQuery a forbidden API (I'll bring up removing it from Lucene) and replacing usage of SpanBoostQuery with BoostQuery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search/SearchSearch-related issues that do not fall into other categories>bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions