#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
virtual String toString(const String &field)
Prints a user-readable version of this query.
virtual int32_t hashCode()
Return hash code for this object.
virtual void extractTerms(SetTerm terms)
Adds all terms occurring in this query to the terms set. Only works if this query is in its rewritten...
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
friend class FilteredQueryWeight
Definition FilteredQuery.h:58
virtual LuceneObjectPtr clone(const LuceneObjectPtr &other=LuceneObjectPtr())
Returns a clone of this query.
virtual WeightPtr createWeight(const SearcherPtr &searcher)
Returns a Weight that applies the filter to the enclosed query's Weight. This is accomplished by over...
FilteredQuery(const QueryPtr &query, const FilterPtr &filter)
Constructs a new query which applies a filter to the results of the original query....
virtual QueryPtr rewrite(const IndexReaderPtr &reader)
Rewrites the wrapped query.
virtual String toString(const String &field)
Prints a query to a string, with field assumed to be the default field and omitted.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< Query > QueryPtr
Definition LuceneTypes.h:420
boost::shared_ptr< Weight > WeightPtr
Definition LuceneTypes.h:480
boost::shared_ptr< Filter > FilterPtr
Definition LuceneTypes.h:358
boost::shared_ptr< Searcher > SearcherPtr
Definition LuceneTypes.h:434
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition LuceneTypes.h:539
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition LuceneTypes.h:157