Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef PAYLOADTERMQUERY_H
8 #define PAYLOADTERMQUERY_H
39 friend class PayloadTermWeight;
40 friend class PayloadTermSpanScorer;
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< Term > TermPtr
Definition: LuceneTypes.h:233
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
bool includeSpanScore
Definition: PayloadTermQuery.h:30
virtual WeightPtr createWeight(const SearcherPtr &searcher)
Constructs an appropriate Weight implementation for this query. Only implemented by primitive queries...
PayloadTermQuery(const TermPtr &term, const PayloadFunctionPtr &function, bool includeSpanScore=true)
virtual ~PayloadTermQuery()
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< Weight > WeightPtr
Definition: LuceneTypes.h:480
virtual int32_t hashCode()
Return hash code for this object.
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
virtual LuceneObjectPtr clone(const LuceneObjectPtr &other=LuceneObjectPtr())
Returns a clone of this query.
Matches spans containing a term.
Definition: SpanTermQuery.h:15
This class is very similar to SpanTermQuery except that it factors in the value of the payload locate...
Definition: PayloadTermQuery.h:21
boost::shared_ptr< PayloadFunction > PayloadFunctionPtr
Definition: LuceneTypes.h:402
boost::shared_ptr< Searcher > SearcherPtr
Definition: LuceneTypes.h:434
clucene.sourceforge.net