lucene 1.0.0

Download zip

class: luceneFileIndex

[123:14] (extern: com.lehman.aussom.AussomLuceneFileIndex) extends: object

A file-system-backed Lucene index. Index data is persisted to disk, allowing files to be added across multiple sessions. Example: idx = new luceneFileIndex(); idx.open("/path/to/index"); idx.addFile("/path/to/doc.txt"); idx.commit(); results = idx.search("keyword"); idx.close();

Methods

class: luceneIndex

[35:14] (extern: com.lehman.aussom.AussomLuceneIndex) extends: object

Base class for Lucene indexes. Provides shared indexing and searching functionality inherited by luceneFileIndex and luceneMemoryIndex. Do not instantiate this class directly. Use luceneFileIndex for a persistent file-system index or luceneMemoryIndex for an in-memory index.

Methods

class: luceneMemoryIndex

[228:14] (extern: com.lehman.aussom.AussomLuceneMemoryIndex) extends: object

An in-memory Lucene index backed by a ByteBuffersDirectory. Data is ephemeral and is lost when the index is closed. This is ideal for fast, temporary indexing and searching within a single session. Example: idx = new luceneMemoryIndex(); idx.create(); idx.addFile("/path/to/doc.md"); idx.commit(); results = idx.search("keyword"); idx.close();

Methods

class: lucene_module

[22:14] static extends: object

Module JAR loader class. Loaded automatically when this module is included.

Methods