elasticsearch/qa/full-cluster-restart
Luca Cavanna ae7cd5e008
Replace MappedFieldType#extractTerm with local query visitor (#113163)
The only usage of `MappedFieldType#extractTerm` comes from `SpanTermQueryBuilder`
which attempts to extract a single term from a generic Query obtained from calling
`MappedFieldType#termQuery`. We can move this logic directly within its only caller,
and instead of using instanceof checks, we can rely on the query visitor API.

This additionally allows us to remove one of the leftover usages of TermInSetQuery#getTermData
which is deprecated in Lucene
2024-09-20 09:55:36 +02:00
..
src/javaRestTest/java/org/elasticsearch/upgrades Replace MappedFieldType#extractTerm with local query visitor (#113163) 2024-09-20 09:55:36 +02:00
build.gradle Add AGPLv3 as a supported license 2024-09-13 15:29:46 -07:00