Re: fuzzy search MultifieldQueryParser - Lucene 2.2

2007-10-26 Thread Daniel Naber
On Friday 26 October 2007 19:06, Zdeněk Vráblík wrote: > It works if query string ends with ~, but how to switch it on for all > query? That's not supported AFAIK. You will need to iterate over the query (recursively if it's an instance of BooleanQuery) and create a new query where all parts ar

fuzzy search MultifieldQueryParser - Lucene 2.2

2007-10-26 Thread Zdeněk Vráblík
Hi all, How could I set fuzzy search in MultifieldQueryParser? It works if query string ends with ~, but how to switch it on for all query? I would like to search without fuzzy and if nothing is found I would like to search with fuzzy search. Thanks. Regards, Zdenek --