Closed
Description
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
.