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

Highlighting: Automatically use the field values extracted from _source if not stored explicitly in the mapping #561

Closed
kimchy opened this issue Dec 12, 2010 · 1 comment

Comments

@kimchy
Copy link
Member

kimchy commented Dec 12, 2010

The current need to have the field stored in order to be highlighted (term_vector is still needed) can be wasteful, especially when the _source is also stored.

When a specific field requested is not stored in the mapping, it will be automatically extracted from the _source (the source wil be loaded and parsed) and used for highlighting.

Note, this holds for cases where an array type is "in the middle" of the expression. For example: attachments.body where attachments is a an array.

@kimchy
Copy link
Member Author

kimchy commented Dec 12, 2010

Highlighting: Automatically use the field values extracted from _source if not stored explicitly in the mapping, closed by 216b2ab.

medcl pushed a commit to medcl/elasticsearch that referenced this issue Jul 1, 2011
…ce if not stored explicitly in the mapping, closes elastic#561.
mindw pushed a commit to mindw/elasticsearch that referenced this issue Sep 5, 2022
…pull request elastic#561)

2nd attempt - mod test21.tfvars for higher max rec nodes

* 2nd attempt - mod test21.tfvars for higher max rec nodes


Approved-by: Can Yildiz
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant