lucene/contrib/lucli
Daniel Naber 84db65bfde adapt to use of jline
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@158851 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 23:42:23 +00:00
..
META-INF use jline instead of java-readline. jline can be added to SVN thanks to its BSD license. plus some small cleanup. 2005-03-23 23:40:50 +00:00
lib use jline instead of java-readline. jline can be added to SVN thanks to its BSD license. plus some small cleanup. 2005-03-23 23:40:50 +00:00
src/lucli use jline instead of java-readline. jline can be added to SVN thanks to its BSD license. plus some small cleanup. 2005-03-23 23:40:50 +00:00
README move two more projects over to contrib 2005-02-06 15:35:12 +00:00
build.xml adapt to use of jline 2005-03-23 23:42:23 +00:00
run.sh move two more projects over to contrib 2005-02-06 15:35:12 +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.