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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
OpenBitSetDISI.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 OPENBITSETDISI_H
8 #define OPENBITSETDISI_H
9 
10 #include "OpenBitSet.h"
11 
12 namespace Lucene {
13 
14 class LPPAPI OpenBitSetDISI : public OpenBitSet {
15 public:
19  OpenBitSetDISI(const DocIdSetIteratorPtr& disi, int32_t maxSize);
20 
23  OpenBitSetDISI(int32_t maxSize);
24 
25  virtual ~OpenBitSetDISI();
26 
28 
29 public:
32  void inPlaceOr(const DocIdSetIteratorPtr& disi);
33 
37  void inPlaceAnd(const DocIdSetIteratorPtr& disi);
38 
41  void inPlaceNot(const DocIdSetIteratorPtr& disi);
42 
45  void inPlaceXor(const DocIdSetIteratorPtr& disi);
46 };
47 
48 }
49 
50 #endif
An "open" BitSet implementation that allows direct access to the array of words storing the bits...
Definition: OpenBitSet.h:19
Definition: OpenBitSetDISI.h:14
boost::shared_ptr< DocIdSetIterator > DocIdSetIteratorPtr
Definition: LuceneTypes.h:324
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12

clucene.sourceforge.net