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-2011 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  {
24  INTERNAL:
27 
28  public:
29  virtual ~MultiTermQueryWrapperFilter();
30 
32 
33  protected:
34  MultiTermQueryPtr query;
35 
36  public:
37  virtual String toString();
38  virtual bool equals(LuceneObjectPtr other);
39  virtual int32_t hashCode();
40 
48  int32_t getTotalNumberOfTerms();
49 
52  void clearTotalNumberOfTerms();
53 
55  virtual DocIdSetPtr getDocIdSet(IndexReaderPtr reader);
56  };
57 }
58 
59 #endif

clucene.sourceforge.net