Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add match_only_text, a space-efficient variant of text. #72064

Merged
merged 4 commits into from
Apr 22, 2021

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Apr 22, 2021

This adds a new match_only_text field, which indexes the same data as a text
field that has index_options: docs and norms: false and uses the _source
for positional queries like match_phrase. Unlike text, this field doesn't
support scoring.

Backport of #66172.

…66172)

This adds a new `match_only_text` field, which indexes the same data as a `text`
field that has `index_options: docs` and `norms: false` and uses the `_source`
for positional queries like `match_phrase`. Unlike `text`, this field doesn't
support scoring.
@jpountz jpountz added :Search Foundations/Mapping Index mappings, including merging and defining field types backport labels Apr 22, 2021
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Apr 22, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@jpountz
Copy link
Contributor Author

jpountz commented Apr 22, 2021

@elasticmachine run elasticsearch-ci/2

@jpountz
Copy link
Contributor Author

jpountz commented Apr 22, 2021

@elasticmachine run elasticsearch-ci/1

@jpountz jpountz merged commit 52a0eca into elastic:7.x Apr 22, 2021
@jpountz jpountz deleted the backport/66172 branch April 22, 2021 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Meta label for search team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants