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


Loading...
Searching...
No Matches
OpenBitSetDISI.h
Go to the documentation of this file.
1
2// 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
12namespace Lucene {
13
14class LPPAPI OpenBitSetDISI : public OpenBitSet {
15public:
19 OpenBitSetDISI(const DocIdSetIteratorPtr& disi, int32_t maxSize);
20
23 OpenBitSetDISI(int32_t maxSize);
24
25 virtual ~OpenBitSetDISI();
26
28
29public:
32 void inPlaceOr(const DocIdSetIteratorPtr& disi);
33
38
42
46};
47
48}
49
50#endif
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
OpenBitSetDISI(const DocIdSetIteratorPtr &disi, int32_t maxSize)
Construct an OpenBitSetDISI with its bits set from the doc ids of the given DocIdSetIterator....
OpenBitSetDISI(int32_t maxSize)
Construct an OpenBitSetDISI with no bits set, and a given maximum size one larger than the largest do...
void inPlaceNot(const DocIdSetIteratorPtr &disi)
Perform an in-place NOT with the doc ids from a given DocIdSetIterator, clearing all the bits for eac...
void inPlaceAnd(const DocIdSetIteratorPtr &disi)
Perform an in-place AND with the doc ids from a given DocIdSetIterator, leaving only the bits set for...
void inPlaceXor(const DocIdSetIteratorPtr &disi)
Perform an inplace XOR with the doc ids from a given DocIdSetIterator, flipping all the bits for each...
void inPlaceOr(const DocIdSetIteratorPtr &disi)
Perform an in-place OR with the doc ids from a given DocIdSetIterator, setting the bit for each such ...
OpenBitSet(int64_t numBits=64)
Constructs an OpenBitSet large enough to hold numBits.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< DocIdSetIterator > DocIdSetIteratorPtr
Definition LuceneTypes.h:324

clucene.sourceforge.net