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


DocIdSet.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 DOCIDSET_H
8 #define DOCIDSET_H
9 
10 #include "DocIdSetIterator.h"
11 
12 namespace Lucene {
13 
16 class LPPAPI DocIdSet : public LuceneObject {
17 public:
18  virtual ~DocIdSet();
20 
21 public:
25 
30  virtual bool isCacheable();
31 
34 };
35 
36 }
37 
38 #endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::DocIdSet::~DocIdSet
virtual ~DocIdSet()
Lucene::DocIdSet::isCacheable
virtual bool isCacheable()
This method is a hint for CachingWrapperFilter, if this DocIdSet should be cached without copying it ...
Lucene::DocIdSet
A DocIdSet contains a set of doc ids. Implementing classes must only implement iterator to provide ac...
Definition: DocIdSet.h:16
Lucene::DocIdSet::EMPTY_DOCIDSET
static DocIdSetPtr EMPTY_DOCIDSET()
An empty {.
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::LuceneObject
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Lucene::DocIdSetIteratorPtr
boost::shared_ptr< DocIdSetIterator > DocIdSetIteratorPtr
Definition: LuceneTypes.h:324
Lucene::DocIdSetPtr
boost::shared_ptr< DocIdSet > DocIdSetPtr
Definition: LuceneTypes.h:323
DocIdSetIterator.h
Lucene::DocIdSet::iterator
virtual DocIdSetIteratorPtr iterator()=0
Provides a DocIdSetIterator to access the set. This implementation can return null or EmptyDocIdSet....

clucene.sourceforge.net