Plush is an interactive shell designed to examine a Lucene store. It is a software tool for inspecting Lucene indexing in an interactive shell interface.
Here are some of the key features of Plush:
- View store information and indexes definitions
- Search using the Lucene Query Parser Syntax
- Sort your results list
- Browse by document number
- See top term occurrences for a field matching a regex
- Supports PyLucene 1.9.1 and 2.0.0
- Interactive shell with emacs-like command history and editing features
- Command-line tool for scripting
- Easy installation with no Java required
- Can load NXLucene analyzers
- Free software distributed under the GNU GPL
- Written in Python, making it easy to customize
If you want to use Plush, you'll need Python 2.4 (2.3 not tested) with readline support (--enable-readline). You'll also need PyLucene, which is easy to install using binaries.
Here's an example of how to install the latest PyLucene 2.0.0-3 (Lucene 2.0.0-453447) on Ubuntu:
- cd /tmp
- wget
- tar xzvf PyLucene-2.0.0-3.tar.gz
- cd PyLucene-2.0.0-3/
- sudo cp -r python/* /usr/lib/python2.4/site-packages/
- sudo cp -r gcj/* /usr/local/lib
You can visit the PyLucene site for other pre-built binaries. Plush is a pure Python package that you can get from the Python Cheese Shop.
To install Plush, just download the package and run either of the following commands:
- sudo make install
- python setup.py build sudo python setup.py install
That's all - you don't need any .jar files or Java to run Plush. If you're looking for an easy way to manage your Lucene store, Plush is definitely worth checking out.
Version 0.2.0: N/A