You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by bramha <br...@gmail.com> on 2013/09/19 12:23:47 UTC
How to highlight multiple words in document
Hi All,
I want to highlight multiple words in document.
e.g If I search for "Rework AND Build" then after opening the document
returned by search result should highlight both words("Rework" as well as
"Build") in that document.
Currently I am adding word to highlight in highlight field.
In this example I am setting highlight = "Rework AND Build". But it is
considering this as single word and highlighting this occurrence in that
document.
Thanks in advance.
- Bramha
--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-highlight-multiple-words-in-document-tp4091021.html
Sent from the Solr - User mailing list archive at Nabble.com.