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
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::AllTermDocs::~AllTermDocs
virtual ~AllTermDocs()
Lucene::SegmentReaderPtr
boost::shared_ptr< SegmentReader > SegmentReaderPtr
Definition: LuceneTypes.h:215
AbstractAllTermDocs.h
Lucene::AllTermDocs::AllTermDocs
AllTermDocs(const SegmentReaderPtr &parent)
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::AllTermDocs
Definition: AllTermDocs.h:14
Lucene::AllTermDocs::_deletedDocs
BitVectorWeakPtr _deletedDocs
Definition: AllTermDocs.h:19
Lucene::AbstractAllTermDocs
Base class for enumerating all but deleted docs.
Definition: AbstractAllTermDocs.h:18
Lucene::AllTermDocs::isDeleted
virtual bool isDeleted(int32_t doc)
Lucene::BitVectorWeakPtr
boost::weak_ptr< BitVector > BitVectorWeakPtr
Definition: LuceneTypes.h:523
Lucene::AbstractAllTermDocs::doc
virtual int32_t doc()
Returns the current document number. This is invalid until next() is called for the first time.

clucene.sourceforge.net