Full-text indexing and search for Common Lisp
Switch branches/tags
Nothing to show
Clone or download
xach Fix read-sequence semantics in read-internal
READ-SEQUENCE returns the first index in the sequence that is not updated, /not/ a count of the number of elements read. Adjust EOF-checking logic accordingly.
Latest commit ee2129e Feb 16, 2017


Portions copyright 2006 John Wiseman <jjwiseman@yahoo.com>
See the revision log for more information on authors and contributors.

Montezuma is maintained by Leslie P. Polzer <polzer@gnu.org>
and Yoni Rabkin <yonirabkin@gmail.com>

** Introduction

Montezuma is a text search engine library for Lisp based on the Ferret
library[1] for Ruby, which is itself based on the Lucene library[2]
for Java.

[1] http://ferret.davebalmain.com/trac
[2] http://lucene.apache.org/

** Requirements

Montezuma 1.0 has been tested with SBCL 1.0.55 (Linux/x86) and CCL 1.6-r14469M
(Linux x86).

Montezuma requires the CL-PPCRE[1] and CL-FAD[2] libraries.

The only implementation-dependent code in Montezuma is in
src/util/mop.lisp.  To add support for another implementation may be
as simple as adding one line to the definition of the CLASS-SLOTS
function and one to SLOT-DEFINITION-NAME.

[1] http://www.cliki.net/CL-PPCRE
[2] http://www.cliki.net/CL-FAD

** Installation and Loading

You can use Quicklisp to install and load Montezuma:

  (ql:quickload 'montezuma)

** Testing

Once Montezuma has been loaded, you can run the unit tests if you

  (asdf:oos 'asdf:test-op '#:montezuma)

** Use

See TUTORIAL.TXT for more information on how to use Montezuma.

The Montezuma project page at http://code.google.com/p/montezuma/
contains the latest information about Montezuma.

** Acknowledgements

Thanks to Dave Balmain, Gary King, Peter Seibel (for his META-inspired
parser), Xach Beane (for the heap implementation from his TIMER
library[1]) and Franz. Inc. (for their Porter stemmer[2]).

[2] http://www.xach.com/lisp/timer/doc.html
[3] http://www.lispwire.com/entry-text-porter-word-stemmer-des