Solprovider Lenya Kongregate Registration for Free Flash Games and Chat with solprovider

Easy Download of Solprovider's Search Publication

Lenya 1.2.4's Default Publication includes this, but it may be broken. Use these instructions plus the notes at the bottom to fix Lenya 1.2.4.

This is a ZIP file of all the files necessary to use Solprovider's Search Publication. If you have customized your publication, use the instructions in Searching Publications on Windows.

1. Unzip this file into your publication directory.
This is not the "pubs" directory. It is the publication directory inside the pubs, such as:
Put the ZIP file in that directory and unzip there.

DO NOT UNZIP INTO C:\apache-lenya-1.2.2\build\lenya\webapp\lenya. That might upgrade all publications, but has not been tested. The filepaths would be wrong in many places. You would also need to create and run index-pub.bat for every publication.

2. Shutdown Lenya

3. Delete all files in:

4. Overwrite:
This only needs to be done once per Lenya installation. It is a server-wide change.

5. If this is not the "default" publication, change the first line and the filename of:
The first line should be the name of the directory of your publication. Changing the filename keeps it organized and allows for multiple publications, since this directory is used by all publications.

6. Move these TWO files:
{pub}\index-default.bat (or whatever it is now named), and

7. Run C:\apache-lenya-1.2.2\tools\bin\index-default.bat

8. (Optional) If the Search results should not include "/pub/live" in the links, remove the "uri" match in {pub}\lenya\xslt\search\search-and-results.xsl

9. Start Lenya.

10. Enjoy.

Lenya 1.2.4

Several bugs in Search were fixed after the release of Lenya 1.2.4. A few changes are needed after using the Easy Download. The following revisions were provided by Rovi on the User ML on 20051224:
For Lenya 1.2.4 on Windows installed with the installer with Jetty using a copy of the default publication, change these files to make indexing work:

FILE: index-pub.bat
.\ant -f ../../build/lenya/webapp/lenya/bin/crawl_and_index.xml -Dlucene.xconf=../../build/lenya/webapp/lenya/pubs/%LENYAPUB%/config/search/lucene-live.xconf index

log4j.rootLogger=INFO, lucene
log4j.appender.lucene = org.apache.log4j.FileAppender
log4j.appender.lucene.File = lucene.log
log4j.appender.lucene.Append = false
log4j.appender.lucene.layout = org.apache.log4j.PatternLayout
log4j.appender.lucene.layout.ConversionPattern = %d{ABSOLUTE} [%t] %-5p %-30.30c{2} %x - %m %n

<< IssuesLinux >>

Contact Solprovider
Paul Ercolino