Package translate :: Package search :: Package indexing :: Module PyLuceneIndexer

[hide private]
[frames] | no frames]

# Module PyLuceneIndexer

source code

interface for the PyLucene (v2.x) indexing engine

take a look at PyLuceneIndexer1.py for the PyLucene v1.x interface

Classes | [hide private]

| PyLuceneDatabase manage and use a pylucene indexing database
| PyLuceneHits an enquire object contains the information about the result of a request

Functions | [hide private]

is_available() | source code

_occur(required, prohibited) | source code

int

_get_pylucene_version() get the installed pylucene version | source code

_escape_term_value(text) | source code

Variables | [hide private]

| __revision__ = `"$Id: PyLuceneIndexer.py 14174 2010-04-08 23:14`...``
| PyLucene = `lucene`
| _COMPILER = `'jcc'`
| UNNAMED_FIELD_NAME = `"FieldWithoutAName"`
| MAX_FIELD_SIZE = `1048576`

Imports: CommonIndexer, re, os, time, logging, lucene

Function Details | [hide private]

### _get_pylucene_version()

source code

get the installed pylucene version

Returns: int
  1 -> PyLucene v1.x / 2 -> PyLucene v2.x / 0 -> unknown

Variables Details | [hide private]

### __revision__

Value:

      "$Id: PyLuceneIndexer.py 14174 2010-04-08 23:14:10Z alaaosh $"