You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Johannes Schaefer <jo...@uidesign.de> on 2004/08/25 16:07:28 UTC

Lucene search doesn't work with special characters

Hi!

There seems to be a problem with special characters and Lucene-Search:
Don't know if this is a browser-setting problem or can be resolved 
within Lucene/Forrest.

Entering the Word 'Überblick' in the lucene-search gives the URL:
http://localhost:8888/lucene-search.html?sitesearch=localhost&queryString=%C3%9Cberblick&Search=Go
which results in:
   Your search for Überblick returned no results.

Setting queryString=Überblick (manually) gives results and the URL now 
reads:
http://localhost:8888/lucene-search.html?sitesearch=localhost&queryString=%DCberblick&Search=Go

(Entering Überblick in the search field results in:
  Your search for Überblick returned no results.)

This happens in MSIE and firefox.
Forrest is 0.6-dev, revision 36849.

Thanks for any hints
Johannes

P.S. I hope my mail settings will send all the special
characters correctly! I used the German umlauts as special
characters, the URL-%-encoding should give you an idea.

-- 
User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
Geschäftsstelle: User Interface Design GmbH * Lehrer-Götz-Weg 11 * 
D-81825 München
www.uidesign.de