OpenSearch/plugins/mapper-annotated-text
Jim Ferenczi 4351a5e537
Allow field types to optimize phrase prefix queries (#37436)
This change adds a way to customize how phrase prefix queries should be created
on field types. The match phrase prefix query is exposed in field types in order
to allow optimizations based on the options set on the field.
For instance the text field uses the configured prefix field (if available) to
build a span near that mixes the original field and the prefix field on the last
position.
This change also contains a small refactoring of the match/multi_match query that
simplifies the interactions between the builders.

Closes #31921
2019-01-17 15:10:28 +01:00
..
src Allow field types to optimize phrase prefix queries (#37436) 2019-01-17 15:10:28 +01:00
build.gradle New plugin - Annotated_text field type (#30364) 2018-09-18 10:25:27 +01:00