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
FieldCacheTermsFilter.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 FIELDCACHETERMSFILTER_H
8 #define FIELDCACHETERMSFILTER_H
9
10 #include "Filter.h"
11
12 namespace Lucene
13 {
46 class LPPAPI FieldCacheTermsFilter : public Filter
47 {
48 public:
49 FieldCacheTermsFilter(const String& field, Collection<String> terms);
50 virtual ~FieldCacheTermsFilter();
51
52 LUCENE_CLASS(FieldCacheTermsFilter);
53
54 protected:
55 String field;
56 Collection<String> terms;
57
58 public:
59 FieldCachePtr getFieldCache();
60
61 virtual DocIdSetPtr getDocIdSet(IndexReaderPtr reader);
62 };
63 }
64
65 #endif

clucene.sourceforge.net