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 "venkatesham.gundu@igate.com" <ve...@igate.com> on 2014/05/19 07:46:02 UTC

A work around to get matching terms from document - Stemmed and Synonyms

I am looking for a feature in SOLR that will give me all matched terms in the
document when I search with a query term, My SOLR field uses Stemming and
Synonym filters as a result of this I am unable find what was matching term
in the document from the index.As a work around I have written a program
which will take each document from the result and apply tokenizer, stemming
and synonym and match with query term(apply stemming and synonyms) to
identify the exact terms from the document, before applying the stemming and
synonym making a copy of the original terms.Please suggest is there any
better way to identify the matching terms from the
document.Thanks,Venkatesham Gundu 



--
View this message in context: http://lucene.472066.n3.nabble.com/A-work-around-to-get-matching-terms-from-document-Stemmed-and-Synonyms-tp4136813.html
Sent from the Solr - User mailing list archive at Nabble.com.