On Tue, Mar 17, 2015 at 8:56 AM, Vlad Zaitsev <[email protected]> wrote:
But it seems that highlighter ignore operator: “and” and highlight any term > from queries. > > Its much more than that. For the most part highlighters reduce the query to a list of terms blindly. Some do phrases. They don't really have that nuanced a view of the query itself. Its because highlighting is totally decoupled from the actual search portion of the job - its more like a recheck. And Lucene isn't built to cleanly plug the highlighters into the queries. So they have tons of instanceof style hacks to get the job done. Its not super pleasant. Nik -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0t%3DHwt-mMpTSbw6B9vLBwDk8%3DsZS88F3g%2BfXATgC_SGw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
