Issue with higlighting and analyzed tokens

Hi,

I am experiencing an unexpected result with highlighting when using an
_analyzer path in the mapping and custom analyzers. The highlighting
returns no result for some query terms, even though the term matches and
the document is returned. For other query terms it works fine. Somehow it
seems that for querying and highlighting a different analyzer is used.

See the following commands to reproduce the issue:

I am using ES v1.3.4

Thanks for any hint.

Felix

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/22f735a9-edf5-4ac6-a474-aa5e73cf9d74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I remember there was a github issue about path specified analyzers and
highlighting but I can't find it. Reading it may be your best bet.

On Thu, Nov 20, 2014 at 5:14 AM, felix@squirro.com wrote:

Hi,

I am experiencing an unexpected result with highlighting when using an
_analyzer path in the mapping and custom analyzers. The highlighting
returns no result for some query terms, even though the term matches and
the document is returned. For other query terms it works fine. Somehow it
seems that for querying and highlighting a different analyzer is used.

See the following commands to reproduce the issue:

Failing highlighting example · GitHub

I am using ES v1.3.4

Thanks for any hint.

Felix

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/22f735a9-edf5-4ac6-a474-aa5e73cf9d74%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/22f735a9-edf5-4ac6-a474-aa5e73cf9d74%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd1TZLQ6L0q4DEq77rfRqBpqF78dehYRUnFEtmZx8j0ANw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.