Lucene++ - a full-featured, c++ search engine
API Documentation
Base class for span-based queries.
Definition: SpanQuery.h:15
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual String getField()=0
Returns the name of the field matched by this query.
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< Weight > WeightPtr
Definition: LuceneTypes.h:480
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
virtual SpansPtr getSpans(const IndexReaderPtr &reader)=0
Returns the matches for this query in an index. Used internally to search for spans.
The abstract base class for queries.
Definition: Query.h:31
virtual WeightPtr createWeight(const SearcherPtr &searcher)
Constructs an appropriate Weight implementation for this query. Only implemented by primitive queries...
boost::shared_ptr< Spans > SpansPtr
Definition: LuceneTypes.h:453
boost::shared_ptr< Searcher > SearcherPtr
Definition: LuceneTypes.h:434
clucene.sourceforge.net