lucene/sandbox/contributions/lucli
Daniel Naber 6dd382334c make the jar less broken -- however, it still requires a "lib" dir with lucene.jar and libreadline-java.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151037 13f79535-47bb-0310-9956-ffa450edef68
2005-01-23 11:12:51 +00:00
..
META-INF make the jar less broken -- however, it still requires a "lib" dir with lucene.jar and libreadline-java.jar 2005-01-23 11:12:51 +00:00
lib no need to have lucene JAR in lib directory to build sandbox pieces 2004-01-25 19:41:52 +00:00
src/lucli remove some unused variables to get rid of warnings 2005-01-23 00:15:27 +00:00
README contribution from Dror Matalon 2003-12-11 02:07:45 +00:00
build.xml make the jar less broken -- however, it still requires a "lib" dir with lucene.jar and libreadline-java.jar 2005-01-23 11:12:51 +00:00
run.sh contribution from Dror Matalon 2003-12-11 02:07:45 +00:00

README

lucli (pronounced Luckily) is the Lucene Command Line Interface.

INSTALLATION

Edit the run.sh shell script
	Edit JAVA_HOME to point to your java directory.
	Edit LUCLI to point to where you installed lucli.
	Edit LUCLI_MEMORY and set it to the maximum amount of memory you want to allocate to lucli
	You can also replace the Lucene jar file that came with lucli with your own.


ENABLING READLINE

If you add the -r command line parameter lucli will try to use a shared library 
to enable things like tab completion and history. Unfortunately Java doesn't support 
this capability natively so you'll need a shared library for this. I'm including one
that worked for me with Debian Linux.
For more details about GNU readline and java see http://java-readline.sourceforge.net/
which is the library that lucli uses.


Documentation

There is none :-). Type help at the command line or read the code.

Enjoy

Dror Matalon
dror@zapatec.com.