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


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

clucene.sourceforge.net