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

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

clucene.sourceforge.net