Lucene++ - a full-featured, c++ search engine
API Documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
include
lucene++
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
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
27
LUCENE_CLASS
(
OpenBitSetDISI
);
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
OpenBitSet.h
Lucene::OpenBitSetDISI::OpenBitSetDISI
OpenBitSetDISI(const DocIdSetIteratorPtr &disi, int32_t maxSize)
Construct an OpenBitSetDISI with its bits set from the doc ids of the given DocIdSetIterator....
Lucene::OpenBitSetDISI::OpenBitSetDISI
OpenBitSetDISI(int32_t maxSize)
Construct an OpenBitSetDISI with no bits set, and a given maximum size one larger than the largest do...
Lucene::OpenBitSetDISI::inPlaceNot
void inPlaceNot(const DocIdSetIteratorPtr &disi)
Perform an in-place NOT with the doc ids from a given DocIdSetIterator, clearing all the bits for eac...
Lucene::OpenBitSetDISI::inPlaceAnd
void inPlaceAnd(const DocIdSetIteratorPtr &disi)
Perform an in-place AND with the doc ids from a given DocIdSetIterator, leaving only the bits set for...
Lucene::OpenBitSetDISI::inPlaceXor
void inPlaceXor(const DocIdSetIteratorPtr &disi)
Perform an inplace XOR with the doc ids from a given DocIdSetIterator, flipping all the bits for each...
Lucene::OpenBitSetDISI::~OpenBitSetDISI
virtual ~OpenBitSetDISI()
Lucene::OpenBitSetDISI::inPlaceOr
void inPlaceOr(const DocIdSetIteratorPtr &disi)
Perform an in-place OR with the doc ids from a given DocIdSetIterator, setting the bit for each such ...
Lucene::OpenBitSet::OpenBitSet
OpenBitSet(int64_t numBits=64)
Constructs an OpenBitSet large enough to hold numBits.
Lucene
Definition
AbstractAllTermDocs.h:12
Lucene::DocIdSetIteratorPtr
boost::shared_ptr< DocIdSetIterator > DocIdSetIteratorPtr
Definition
LuceneTypes.h:324
clucene.sourceforge.net