lupyne / lupyne / engine /

coady 5fcd126 

coady 54134d5 
coady 53d5b69 
coady 54134d5 
coady ddfbd22 
coady 79e1d27 
coady 5bb6a88 
coady 03c899f 
coady 5fcd126 
coady 89004a9 
coady 48c4784 

Pythonic wrapper around `PyLucene <>`_ search engine.

Provides high-level interfaces to indexes and documents,
abstracting away java lucene primitives.

import warnings
import lucene
warnings.simplefilter('default', DeprecationWarning)

from .queries import Query, SortField, TermsFilter
from .documents import Document, Field, FormatField, NestedField, NumericField, DateTimeField
from .indexers import TokenFilter, Analyzer, IndexSearcher, MultiSearcher, IndexWriter, Indexer, ParallelIndexer
from .spatial import PointField, PolygonField

assert lucene.VERSION >= '3.2'
if lucene.VERSION < '3.3':
    warnings.warn('Support for lucene 3.2 will be removed in the next release.', DeprecationWarning)