On 6/5/05, Franz Ruebe <[EMAIL PROTECTED]> wrote:
> It works in the same way for 1.2.3?
The developers have said there were no changes to Search in 1.2.3.
Another thread here was about someone trying the instructions with
1.2.3, but they have not told us it worked yet.
> >log4j.properties must be on the CLASSPATH. The ANT Batch file has:
> >SET CLASSPATH=.
> >so having log4j.properties in the tools/bin directory works.
> I have my log4j.properties in the CLASSPATH set by the ant.bat (In my case
> d:\apache-lenya-1.2.3\tools\bin).
If it is in the correct directory, the errors go away and "lucene.log"
is created. (Like the filename? I invented it myself!)
> >If you're not resetting the CLASSPATH, you must put log4j.properties on
> >your CLASSPATH.
> How to reset the CLASSPATH? Is this necessary if it is set correct by
> ant.bat?
On Windows, the CLASSPATH is typically set in AUTOEXEC.BAT. Win2K/XP
can also set environment values in System Properties. Open a command
prompt and type:
SET
Look for CLASSPATH={some directories}
My global CLASSPATH is set to work with Tomcat. I reset it to the
tools/bin directory in my batch file because everything ant needs for
crawling and indexing is in that directory, and it made it easy to
place "log4j.properties", and easy to find "lucene.log".
To set it to the current directory, add:
SET CLASSPATH=.
(including the final period) in your batch file.
> Is there a way to get an index without crawling?
Yes. That was the point of the How-To. I wanted to filter the
results based on language and filepath, and that is easier working
from Lenya's XML than from HTML. It seems silly to crawl the website
and put a copy on the hard drive, when all the contents are already on
the hard drive in a much better format.
FYI, my copy of the How-To is at: http://solprovider.com/lenya/search
Please let us know it works with Lenya1.2.3, and I would be interested
in any comments to improve the instructions.
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]