Hi, you can use the highlighter functionality. It will "mark" the hits in the document text.
Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: akshaymall [mailto:[email protected]] > Sent: Monday, March 07, 2016 1:46 PM > To: [email protected] > Subject: Solr- Fuzzy Search > > I want to try the fuzzy search in Solr with a specific query. > > For example, I want to search all the words that match this query: "agree > ~2". > > Now using a simple query, I can find the documents that have the words > matching the above query. But I want to know the words that Solr has found > in the document. > > Example: > > Search Result: > 1. Sample1.pdf > 2. Sample2.pdf > > What I want as a result: > > 1. Sample1.pdf : agree, agrea > 2. Sample2.pdf : agref, agret > > > > > -- > View this message in context: http://lucene.472066.n3.nabble.com/Solr- > Fuzzy-Search-tp4262092.html > Sent from the Lucene - General mailing list archive at Nabble.com.
