lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "venkatesham.gundu@igate.com" <venkatesham.gu...@igate.com>
Subject Matched words from document - Stemmed and Synonyms
Date Wed, 24 Jul 2013 08:19:28 GMT
I am looking for a feature in SOLR, that will give me all matched words in
the document when I search with a word. 
My search FIELD uses Stemming and as well as Synonym filters. 

For example I have documents and part of the text goes like below 
1.We were very careful about my surgery 
2.are still needing shunts, or Decompression Surgeries, Taps work for som 
3.prior to surgeries and Berinert as a rescue drug. 
4.identified the disease as we were in the same area of operations as
outcome from dioxins 

When I am search with surgery its giving all 4 documents that is fine, but I
need to know what are the words in each doc that matched with my search
query "surgery", here - 1. surgery 2. Surgeries and 3. surgeries
4.operations - from each doc. 

I have tried using Highlighter but its not only giving matched words also
gives unwanted words and also it it not highlighting the synonym matched
words - in this example operation.

Thanks 
Venkatesham Gundu 



--
View this message in context: http://lucene.472066.n3.nabble.com/Matched-words-from-document-Stemmed-and-Synonyms-tp4079969.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message