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


AllTermDocs.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 ALLTERMDOCS_H
8#define ALLTERMDOCS_H
9
10#include "AbstractAllTermDocs.h"
11
12namespace Lucene {
13
15public:
17 virtual ~AllTermDocs();
18
20
21protected:
23
24public:
25 virtual bool isDeleted(int32_t doc);
26};
27
28}
29
30#endif
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Base class for enumerating all but deleted docs.
Definition: AbstractAllTermDocs.h:18
virtual int32_t doc()
Returns the current document number. This is invalid until next() is called for the first time.
Definition: AllTermDocs.h:14
virtual ~AllTermDocs()
BitVectorWeakPtr _deletedDocs
Definition: AllTermDocs.h:22
AllTermDocs(const SegmentReaderPtr &parent)
virtual bool isDeleted(int32_t doc)
Definition: AbstractAllTermDocs.h:12
boost::weak_ptr< BitVector > BitVectorWeakPtr
Definition: LuceneTypes.h:523
boost::shared_ptr< SegmentReader > SegmentReaderPtr
Definition: LuceneTypes.h:215

clucene.sourceforge.net