Re: FuzzyQuery in lucene 4.0

2013-01-09 Thread Jack Krupansky
: FuzzyQuery in lucene 4.0 See the javadocs for FuzzyQuery to see what the parameters are. I can't tell you what the comment means. Possible values to try maybe? -- Ian. On Wed, Jan 9, 2013 at 2:34 PM, algebra wrote: is true Ian, o code is good. The only thing that I dont understand

Re: FuzzyQuery in lucene 4.0

2013-01-09 Thread Ian Lea
See the javadocs for FuzzyQuery to see what the parameters are. I can't tell you what the comment means. Possible values to try maybe? -- Ian. On Wed, Jan 9, 2013 at 2:34 PM, algebra wrote: > is true Ian, o code is good. > > The only thing that I dont understand is a line: > > Query query =

Re: FuzzyQuery in lucene 4.0

2013-01-09 Thread algebra
is true Ian, o code is good. The only thing that I dont understand is a line: Query query = new FuzzyQuery(term, 2 ,0); //0-2 Whats means 0 to 2? -- View this message in context: http://lucene.472066.n3.nabble.com/FuzzyQuery-in-lucene-4-0-tp4031871p4031879.html Sent from the Lucene - Java Us

Re: FuzzyQuery in lucene 4.0

2013-01-09 Thread Ian Lea
What adjustments did you make? One of them might be to blame. But at a glance the code looks fine to me. In what way is it not working? Care to provide any input/output/details of what does/doesn't work? -- Ian. On Wed, Jan 9, 2013 at 2:03 PM, algebra wrote: > I was using lucene 3.6 and my

FuzzyQuery in lucene 4.0

2013-01-09 Thread algebra
I was using lucene 3.6 and my function worked well. After I changed the version of lucene to 4.0 and did some adjustments and my function is not working. Someone tell me what do you know I'm doing wrong? public List fuzzyLuceneList(List list, String s) throws CorruptIndexException, LockObtainFai