lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <>
Subject Re: Questions about use of SpellChecker: Constructor and Simillarity...
Date Tue, 08 Apr 2008 17:23:34 GMT
Leandro skrev:
>>  1ยบ Why need I pass a Directory objecto (obligatory) on constructor of
>>> SpellChecker?
>> Mainly because it is a nasty peice of code. But it does a good job.
> How can we suggest it (create an normal constructor without param) to the
> team?

Sorry, I missunderstood your question. See other reply.

>> There are no typos in your example so you really don't even need a spell
>> checker for that. Using OR clauses in your query would be enough.
> I guess no, because user will enter : "The Lord of the Rings: The Return of
> the King" ... and the system should response with:
> Similar:
> The Lord of the Rings: The Two Towers
> The Lord of the Rings: The Fellowship of the Ring
> I can't see how can I do that?  (just using the OR statement)
> For example:
> name like '%the%'
> or
> name like '%Lord%'
> or
> name like '%of%'
> or
> name like '%the%'
> or
> name like '%Rings%'
> will produce so much results besides to be non-performatic...

Are you sure about that? Did you benchmark? Can we see the results?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message