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

2014-05-17 Thread venkatesham.gu...@igate.com
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-tp4136611.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

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

2014-05-17 Thread Jack Krupansky
The explain section of the debug response when you set the debugQuery=true 
parameter will give you the final terms that were matched for each document.


-- Jack Krupansky

-Original Message- 
From: venkatesham.gu...@igate.com

Sent: Saturday, May 17, 2014 2:28 AM
To: java-user@lucene.apache.org
Subject: 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-tp4136611.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com. 



-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



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

2014-05-17 Thread Jack Krupansky
Oops... I just noticed that you sent this request to the java-user list, 
which is primarily for developers using the Lucene library directly. Try 
sending it to the solr-user list, which is for users and developers working 
with Solr.


-- Jack Krupansky

-Original Message- 
From: venkatesham.gu...@igate.com

Sent: Saturday, May 17, 2014 2:28 AM
To: java-user@lucene.apache.org
Subject: 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-tp4136611.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com. 



-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org