lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30785] - German Analyzer does not handle search terms with asterisks
Date Sat, 21 Aug 2004 19:52:34 GMT
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


Mime
View raw message