Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef CONSTANTSCOREQUERY_H
8 #define CONSTANTSCOREQUERY_H
35 virtual void extractTerms(SetTerm terms);
40 virtual String toString(
const String& field);
43 virtual int32_t hashCode();
46 friend class ConstantWeight;
47 friend class ConstantScorer;
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< Filter > FilterPtr
Definition: LuceneTypes.h:358
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
boost::shared_ptr< Query > QueryPtr
Definition: LuceneTypes.h:420
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< Weight > WeightPtr
Definition: LuceneTypes.h:480
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
The abstract base class for queries.
Definition: Query.h:31
A query that wraps a filter and simply returns a constant score equal to the query boost for every do...
Definition: ConstantScoreQuery.h:18
virtual String toString()
Prints a query to a string.
boost::shared_ptr< Searcher > SearcherPtr
Definition: LuceneTypes.h:434
clucene.sourceforge.net