We receive a document for result, but it has no highlighting. Sometimes
there is partial highlighting: for example if we search for "we live in NY"
the highlight is: live in NY</em and not the full match.
I'm not sure why you don't get highlights for this particular query, but
regarding the "we live in NY" example, I would guess that you are either
using the default analyzer or an analyzer that has stop words configured,
and this causes very common words such as "we" or "in" to be ignored when
highlighting. Here is an example that would highlight "we" and "in":
We receive a document for result, but it has no highlighting. Sometimes
there is partial highlighting: for example if we search for "we live in NY"
the highlight is: live in NY</em and not the full match.
On Monday, December 16, 2013 12:25:16 PM UTC+2, Adrien Grand wrote:
Hi,
I'm not sure why you don't get highlights for this particular query, but
regarding the "we live in NY" example, I would guess that you are either
using the default analyzer or an analyzer that has stop words configured,
and this causes very common words such as "we" or "in" to be ignored when
highlighting. Here is an example that would highlight "we" and "in": Highlighting of stop words · GitHub
On Sun, Dec 15, 2013 at 4:26 PM, mayap <maya.p...@gmail.com <javascript:>>wrote:
We receive a document for result, but it has no highlighting. Sometimes
there is partial highlighting: for example if we search for "we live in NY"
the highlight is: live in NY</em and not the full match.
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.