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 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:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.