Home | Trees | Indices | Help |
|
---|
|
manage and use a pylucene indexing database
|
|||
|
|||
|
|||
|
|||
PyLucene.Query |
|
||
PyLucene.Query |
|
||
PyLucene.Query |
|
||
PyLucene.Query |
|
||
PyLucene.Document |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
subclass of CommonEnquire |
|
||
|
|||
list of dicts |
|
||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
QUERY_TYPE = PyLucene.Query override this with the query class of the implementation |
|||
INDEX_DIRECTORY_NAME = "lucene" override this with a string to be used as the name of the indexing directory/file in the filesystem |
|||
Inherited from |
|
|||
Inherited from |
|
initialize or open an indexing database Any derived class must override __init__.
|
flush the content of the database - to force changes to be written to disk some databases also support index optimization
|
generate a query based on an existing query object basically this function should just create a copy of the original
|
generate a query for a plain term of a string query basically this function parses the string and returns the resulting query
|
generate a field query this functions creates a field->value query
|
generate a combined query
|
create an empty document to be filled and added to the index later
|
add a term to a document
|
add a field term to a document
|
add a prepared document to the index database
|
PyLucene does not support transactions Thus this function just opens the database for write access. Call "cancel_transaction" or "commit_transaction" to close write access in order to remove the exclusive lock from the database directory. |
PyLucene does not support transactions Thus this function just closes the database write access and removes the exclusive lock. See 'start_transaction' for details. |
PyLucene does not support transactions Thus this function just closes the database write access and removes the exclusive lock. See 'start_transaction' for details. |
return an object containing the results of a query
|
delete a specified document
|
return a list of the contents of specified fields for all matches of a query
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Oct 15 13:54:37 2009 | http://epydoc.sourceforge.net |