7#ifndef QUERYWRAPPERFILTER_H
8#define QUERYWRAPPERFILTER_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Abstract base class for restricting which documents may be returned during searching.
Definition Filter.h:15
Constrains search results to only match those which also match a provided query.
Definition QueryWrapperFilter.h:20
virtual String toString()
Returns a string representation of the object.
virtual ~QueryWrapperFilter()
QueryWrapperFilter(const QueryPtr &query)
Constructs a filter which only matches documents matching query.
QueryPtr query
Definition QueryWrapperFilter.h:30
virtual int32_t hashCode()
Return hash code for this object.
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
virtual DocIdSetPtr getDocIdSet(const IndexReaderPtr &reader)
Creates a DocIdSet enumerating the documents that should be permitted in search results.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition LuceneTypes.h:539
boost::shared_ptr< Query > QueryPtr
Definition LuceneTypes.h:420
boost::shared_ptr< DocIdSet > DocIdSetPtr
Definition LuceneTypes.h:323
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition LuceneTypes.h:157