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
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