Re: Search for long titles - wildcard queries

2008-05-13 Thread Daniel Noll
On Saturday 10 May 2008 20:32:42 legrand thomas wrote: > I think I cannot use the WildcardQuery because the term shouldn't start > with "*" of "?". Should I use a QueryParser ? How can I do it ? WildcardQuery does permit a wildcard at the front, it's just much slower. Also, QueryParser allows w

Search for long titles - wildcard queries

2008-05-10 Thread legrand thomas
Dear all, I'm a recent Lucene user and I'm looking for the best way to perform searches over long titles (ad titles on a website). For example, if the following documents exist: - TITLE, "Fender telecaster" - TITLE, "Land rover defender" - TITLE, "I sale a wonderful fender st