Bug #199
Fuzzy Search is not usable
| Status: | Closed | Start: | 05/21/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | Karl Heinz Marbaise | % Done: | 100% |
|
| Category: | Indexer | |||
| Target version: | 0.6.2 Calypso RC1 | |||
Description
If we use a Fuzzy search thing like
+message:fix~we got a message
Fuzzy queries not allowed. We should check why.
History
Updated by Karl Heinz Marbaise 989 days ago
- Tracker changed from Support to Bug
Updated by Karl Heinz Marbaise 978 days ago
- Target version changed from 0.6.0 Bebhionn to 0.6.1 Bestla
Updated by Karl Heinz Marbaise 962 days ago
- Target version changed from 0.6.1 Bestla to 0.6.2 Calypso
Updated by Michael Krkoska 929 days ago
- File CustomQueryParser.java.patch added
- % Done changed from 0 to 90
Hi,
this message comes from CustomQueryParser, which has following method
@Override
protected Query getFuzzyQuery(String field, String term, float minSimilarity) throws ParseException {
throw new ParseException("Fuzzy queries not allowed");
}
:) I think this happened by using one of the templates for a custom QueryParser floating around in the web.
The attached patch does nothing else than to remove this method.
Bye,
Michael
Updated by kama - 926 days ago
- Status changed from New to Closed
- % Done changed from 90 to 100
Applied in changeset r408.
Updated by Karl Heinz Marbaise 704 days ago
- Target version changed from 0.6.2 Calypso to 0.6.2 Calypso RC1