Michael Wechner wrote:

Lars Geldner wrote:

It seems like this is not a problem of Lucene but in the file
search-and-results.xsp of Lenya. The problem only occurs if the text to
search contains the German character ß.
If, for example, the text contains two ß before the word to search appears then the highlighted text in the result page is shifted by two characters to
the right.

Is there a solution to this problem?

dig into the code ;-) Seriously, I would like to help you more explicitely, but
just don't have the time right now, but if you start digging I will
certainly try to give you pointers as good as I can resp. remember.

Patches are always very much appreciated :-)


as a start you might want to add a Bug to Bugzilla.

Thanks

Michi



Michi

TIA,

Lars Geldner

-----------------------

Lars Geldner wrote:

Hi all,

I'm using Lenya 1.2.4 with Lucene that has been installed with this version
of Lenya.
My Lenya publication is multilingual, i.e. English, German and Portuguese. There are no problems when searching the English and the Portuguese variant
of the publication.
But when I try to search the German publication the wrong word is
highlighted at the result page. It seems that the displacement of the
highlighted word increases with the lenght of the text.

P.S.: The displacement is still the same when using the XSLT/XMAP/XSP files
from http://solprovider.com/lenya/&cat=Search.

TIA,

Lars Geldner





--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to