TermEnum enum = reader.terms(new Term(field, start));
That cuts down the time from 5s to 5ms, thanks a lot!
I haven't found a way to stop the enumeration once I am sure that
the input term can not match any more :)
Being able to throw a StopItException from termCompare would seem like a
have a look at the FuzzyTermEnum class in Lucene.
The FuzzyTermEnum class is truely useful... if I could get it to be a
bit faster. By faster I mean something in the order of one second for a
half gigabyte index; currently the best I get is five seconds.
What I am trying to accomplish:
- If
Cc: Lucene Users List
Betreff: Re: Search for similar terms
have a look at the FuzzyTermEnum class in Lucene.
The FuzzyTermEnum class is truely useful... if I could get it to be a
bit faster. By faster I mean something in the order of one second for a
half gigabyte index; currently the best I
:
Subject: Search for similar terms
05/30/03 05:15 AM
Please respond
and multiplying it
to the frequency in the indexed documents can obtain a score.
Do you think that this is a wrong way?
Regards,
Dario
- Original Message -
From: [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 3:51 PM
Subject: Re: Search for similar terms
Hi,
can you suffer me a link with an overview document of this method?
I couldn't find.
Thanks,
Dario
- Original Message -
From: Leo Galambos [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 4:25 PM
Subject: Re: Search for similar terms
You need
.
Thanks,
Dario
- Original Message -
From: Leo Galambos [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 4:25 PM
Subject: Re: Search for similar terms
You need DASG+Lev over the dictionary. The boundary could be the highest
idf of the terms. It was solved
good.
Regards,
Karsten
-Ursprüngliche Nachricht-
Von: Dario Dentale [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 30. Mai 2003 19:05
An: Lucene Users List
Betreff: Re: Search for similar terms
Thanks, for the answer.
I was searching for a solution not based on a dictionary