lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject Matched words from document - Stemmed and Synonyms
Date Wed, 24 Jul 2013 08:10:04 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 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-

Venkatesham Gundu

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message