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 on a wildcard field name causes the wildcard expression to be returned rather than the actual field name #5221

Closed
javanna opened this issue Feb 21, 2014 · 0 comments

Comments

@javanna
Copy link
Member

javanna commented Feb 21, 2014

Wildcards expressions are supported to specify which fields need to be highlighted. When using a wildcard expression, in some cases the highlighted fragments generated by the fast vector highlighter contain the wildcard expression as field name instead of the actual field name.

This happens also with the other when returning errors like:

  • "the field [field*] should be indexed with positions and offsets in the postings list to be used with postings highlighter"
  • "the field [field*] should be indexed with term vector with position offsets to be used with fast vector highlighter"
  • "source is forced for field [field*] but type [type1] has disabled _source"

In all the above cases, the actual field name should be returned (e.g. field1 rather than field*)

Relates to #5175 .

@javanna javanna self-assigned this Feb 21, 2014
javanna added a commit that referenced this issue Feb 21, 2014
javanna added a commit that referenced this issue Feb 21, 2014
javanna added a commit that referenced this issue Feb 21, 2014
@clintongormley clintongormley added the :Search/Highlighting How a query matched a document label Jun 7, 2015
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
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

2 participants