You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2004/08/21 21:52:34 UTC

DO NOT REPLY [Bug 30785] - German Analyzer does not handle search terms with asterisks

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30785>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30785

German Analyzer does not handle search terms with asterisks





------- Additional Comments From bernhard.messer@intrafind.de  2004-08-21 19:52 -------
hi

if your files are utf-8 encoded and you are using the lucene demo program, you
have to change the following line:

Reader reader = new BufferedReader(new InputStreamReader(is));

to

Reader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));

in FileDocument.java. If done, utf-8 encoded files can be indexed and all the
searchers for german special characters work.

regards
Bernhard

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org