Lucene++ - a full-featured, c++ search engine
API Documentation


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MultiTermQueryWrapperFilter.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3 // Distributable under the terms of either the Apache License (Version 2.0)
4 // or the GNU Lesser General Public License.
6 
7 #ifndef MULTITERMQUERYWRAPPERFILTER_H
8 #define MULTITERMQUERYWRAPPERFILTER_H
9 
10 #include "Filter.h"
11 
12 namespace Lucene {
13 
22 class LPPAPI MultiTermQueryWrapperFilter : public Filter {
23 INTERNAL:
26 
27 public:
28  virtual ~MultiTermQueryWrapperFilter();
29 
31 
32 protected:
33  MultiTermQueryPtr query;
34 
35 public:
36  virtual String toString();
37  virtual bool equals(const LuceneObjectPtr& other);
38  virtual int32_t hashCode();
39 
47  int32_t getTotalNumberOfTerms();
48 
51  void clearTotalNumberOfTerms();
52 
54  virtual DocIdSetPtr getDocIdSet(const IndexReaderPtr& reader);
55 };
56 
57 }
58 
59 #endif
boost::shared_ptr< DocIdSet > DocIdSetPtr
Definition: LuceneTypes.h:323
boost::shared_ptr< MultiTermQuery > MultiTermQueryPtr
Definition: LuceneTypes.h:389
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
Abstract base class for restricting which documents may be returned during searching.
Definition: Filter.h:15
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
A wrapper for MultiTermQuery, that exposes its functionality as a Filter.
Definition: MultiTermQueryWrapperFilter.h:22

clucene.sourceforge.net