lucene/sandbox/contributions/lucli
Erik Hatcher 2ee994898d lucli code cleanup and a couple of minor enhancements/fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150945 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 01:36:15 +00:00
..
META-INF contribution from Dror Matalon 2003-12-11 02:07:45 +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 lucli code cleanup and a couple of minor enhancements/fixes 2004-01-26 01:36:15 +00:00
README contribution from Dror Matalon 2003-12-11 02:07:45 +00:00
build.xml upgrade lucli build to conform with master build 2004-01-05 17:20:42 +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.