Re: Highlighting search words in full document

2013-04-08 Thread Darren Hoffman
Thanks, Erick. I'll try that. Darren On 2013-04-07 3:25 PM, "Erick Erickson" wrote: >Well, at that point you have a doc ID presumably. When you format your >responses to the initial query, the link you provide for each verse is >something like > >yourserver/solr/collection1/select?q=id:chapter_

Re: Token Stream with Offsets (Token Sources class)

2013-04-08 Thread vempap
I apologize. I did not know where exactly I needed to post this - I'll remove the others. As for indexing, I'm using Solr example docs script to post the documents & then using the mentioned code to get the token stream of that index. I've the following doc : ipod_video_1.xml : MA147LL/A

fuzzy query on phrases

2013-04-08 Thread G.Long
Hi :) I'm using Lucene 3.1 and I would like to use fuzzy query on a field which contains the title of my document. This field is indexed and stored using the standard analyzer. I found the ComplexPhraseQueryParser class which seems to support fuzzy option. Here is the code I'm using to creat