Stephan Spat wrote:
> Hello again!
>
> It replaces german umlauts, e.g. ä <=> a, ü <=> u, ... . So no umlauts
> are in the index. For searching I use the same Analyzer. When I do a
> simple search for a word with umlauts there is no problem. But if I use
> addidionally wildcards I suppose the word is not analyzed and so I word
> with umlauts and wildcards is not found in the index?!! (for example:
> grö*). Is this assumption correct?
I came across this class this morning:
AnalyzingQueryParser - Overrides Lucene's default QueryParser so that Fuzzy-,
Prefix-, Range-, and WildcardQuerys are also passed through the given analyzer,
but ? and * don't get removed from the search terms.
Read the warning re German though.
Antony
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
|