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

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FilteredDocIdSet.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2011 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 FILTEREDDOCIDSET_H
8 #define FILTEREDDOCIDSET_H
9
10 #include "DocIdSet.h"
11
12 namespace Lucene
13 {
23 class LPPAPI FilteredDocIdSet : public DocIdSet
24 {
25 public:
27 FilteredDocIdSet(DocIdSetPtr innerSet);
28 virtual ~FilteredDocIdSet();
29
30 LUCENE_CLASS(FilteredDocIdSet);
31
32 protected:
33 DocIdSetPtr innerSet;
34
35 public:
37 virtual bool isCacheable();
38
42 virtual DocIdSetIteratorPtr iterator();
43
44 protected:
48 virtual bool match(int32_t docid) = 0;
49
50 friend class DefaultFilteredDocIdSetIterator;
51 };
52 }
53
54 #endif

clucene.sourceforge.net