IMHO, highlighting process is applied at the end of the search process.
That said, I suppose that highlight check for terms in file field. Terms is the full list of analyzed (or not) used in the query. (that's only a supposition as I did not look at the highlight code right now)
I'm curious of Elasticsearch gurus answers about this. Is it doable? Should Oleg open an issue for it?
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
"|require_field_match| can be set to |true| which will cause a field to
be highlighted only if a query matched that field. |false| means that
terms are highlighted on all requested fields regardless if the query
matches specifically on them."
On 8/23/2012 10:53 AM, David Pilato wrote:
IMHO, highlighting process is applied at the end of the search process.
That said, I suppose that highlight check for terms in file field.
Terms is the full list of analyzed (or not) used in the query. (that's
only a supposition as I did not look at the highlight code right now)
I'm curious of Elasticsearch gurus answers about this. Is it doable?
Should Oleg open an issue for it?
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
"|require_field_match| can be set to |true| which will cause a field to be highlighted only if a query matched that field. |false| means that terms are highlighted on all requested fields regardless if the query matches specifically on them."
On 8/23/2012 10:53 AM, David Pilato wrote:
IMHO, highlighting process is applied at the end of the search process.
That said, I suppose that highlight check for terms in file field. Terms is the full list of analyzed (or not) used in the query. (that's only a supposition as I did not look at the highlight code right now)
I'm curious of Elasticsearch gurus answers about this. Is it doable? Should Oleg open an issue for it?
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
But don't put me in the league of ES gurus, please. I recalled seeing
that info when I was reading about ES and recognized that as something
that triggers the behavior down in the Lucene HitHighlighter(s) which I
have had a love/hate relationship with over the last year when working
directly with Lucene.
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.