You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Richard Schottdorf <sc...@screenwave.de> on 2005/08/03 22:33:52 UTC

Lenya 1.2.4 + Tomcat Searchfunction

Hi together,

I am using Lenya 1.2.4 with Tomcat. How is it possible to make the
searchfunction work?

Greetings
Richard



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Lenya 1.2.4 + Tomcat Searchfunction

Posted by so...@gmail.com.
On 8/5/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> I already encountered the next minor problems. The Searchengine refuses to
> use the german pages, even if I put default to german. 

My Search only searches the language(s) selected.  Field "language"
must be set, or it defaults to "en".  The default is hardcoded in
search-and-results.xsp if you need to change it:
    if(language.length() == 0) language = "en";
(Sorry.  I had a deadline.  I should have passed the pub's default
language and used that.  My project adds the langauge to every URL, so
the default language is never an issue.)

Try adding:
  &language=de
to the search URL.  Multiple languages are separated by commas:
  &language=de,en

> Also it is has problems with german letters.

We are using it with Russian.  It handles Cyrillic without any
problems; it should easily handle German.  Make certain everything is
saved as UTF-8.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


AW: Lenya 1.2.4 + Tomcat Searchfunction

Posted by Richard Schottdorf <sc...@screenwave.de>.
Hi Solprovider,

Even I am working with version 1.2.4 I tried your easy download and now it
works!

Thx and greetings
Richard 

-----Ursprüngliche Nachricht-----
Von: solprovider@gmail.com [mailto:solprovider@gmail.com] 
Gesendet: Donnerstag, 4. August 2005 18:28
An: Richard Schottdorf; user@lenya.apache.org
Betreff: Re: Lenya 1.2.4 + Tomcat Searchfunction

On 8/4/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> Which filepaths should I check? I tried the whole afternoon to find the
> problem.

The filepaths may need to be corrected in /tools/bin/index-default.bat.

The last article in the Search chapter has a pipeline for testing
search that you can add to your publication-sitemap.xmap to return the
XML generated by Search.  If it fails, the problem is with generating
the index or getting results.  If it works, the problem is with
integration with your XSL.

We need more information to troubleshoot.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


AW: Lenya 1.2.4 + Tomcat Searchfunction

Posted by Richard Schottdorf <sc...@screenwave.de>.
Ahoy Solprovider,

I already encountered the next minor problems. The Searchengine refuses to
use the german pages, even if I put default to german. Also it is has
problems with german letters.

Greetings and thanx
Richard 

-----Ursprüngliche Nachricht-----
Von: solprovider@gmail.com [mailto:solprovider@gmail.com] 
Gesendet: Donnerstag, 4. August 2005 18:28
An: Richard Schottdorf; user@lenya.apache.org
Betreff: Re: Lenya 1.2.4 + Tomcat Searchfunction

On 8/4/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> Which filepaths should I check? I tried the whole afternoon to find the
> problem.

The filepaths may need to be corrected in /tools/bin/index-default.bat.

The last article in the Search chapter has a pipeline for testing
search that you can add to your publication-sitemap.xmap to return the
XML generated by Search.  If it fails, the problem is with generating
the index or getting results.  If it works, the problem is with
integration with your XSL.

We need more information to troubleshoot.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Lenya 1.2.4 + Tomcat Searchfunction

Posted by so...@gmail.com.
On 8/4/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> Which filepaths should I check? I tried the whole afternoon to find the
> problem.

The filepaths may need to be corrected in /tools/bin/index-default.bat.

The last article in the Search chapter has a pipeline for testing
search that you can add to your publication-sitemap.xmap to return the
XML generated by Search.  If it fails, the problem is with generating
the index or getting results.  If it works, the problem is with
integration with your XSL.

We need more information to troubleshoot.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


AW: Lenya 1.2.4 + Tomcat Searchfunction

Posted by Richard Schottdorf <sc...@screenwave.de>.
Hi Solprovider,

Thx for your answer! 
I tried to check the filepaths but couldn't figure out the problem.

It still returns no results and the Pagelayout is gone!

Greetings 
Richard

-----Ursprüngliche Nachricht-----
Von: solprovider@gmail.com [mailto:solprovider@gmail.com] 
Gesendet: Donnerstag, 4. August 2005 06:46
An: user@lenya.apache.org
Betreff: Re: Lenya 1.2.4 + Tomcat Searchfunction

On 8/3/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> I am using Lenya 1.2.4 with Tomcat. How is it possible to make the
> searchfunction work?

My revisions to search are included in Lenya 1.2.4.  Lenya on Tomcat
worked well, although you may need to adjust filepaths.  The full
instructions are at:
http://solprovider.com/lenya/search

Enjoy,
solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Lenya 1.2.4 + Tomcat Searchfunction

Posted by so...@gmail.com.
On 8/3/05, Richard Schottdorf <sc...@screenwave.de> wrote:
> I am using Lenya 1.2.4 with Tomcat. How is it possible to make the
> searchfunction work?

My revisions to search are included in Lenya 1.2.4.  Lenya on Tomcat
worked well, although you may need to adjust filepaths.  The full
instructions are at:
http://solprovider.com/lenya/search

Enjoy,
solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org