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


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
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::OpenBitSetDISI
Definition: OpenBitSetDISI.h:14
OpenBitSet.h
Lucene::DocIdSetIteratorPtr
boost::shared_ptr< DocIdSetIterator > DocIdSetIteratorPtr
Definition: LuceneTypes.h:324
Lucene::OpenBitSet
An "open" BitSet implementation that allows direct access to the array of words storing the bits.
Definition: OpenBitSet.h:19

clucene.sourceforge.net