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
SetBasedFieldSelector.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 SETBASEDFIELDSELECTOR_H
8 #define SETBASEDFIELDSELECTOR_H
9
10 #include "FieldSelector.h"
11
12 namespace Lucene
13 {
15 class LPPAPI SetBasedFieldSelector : public FieldSelector
16 {
17 public:
22 SetBasedFieldSelector(HashSet<String> fieldsToLoad, HashSet<String> lazyFieldsToLoad);
23
24 virtual ~SetBasedFieldSelector();
25
26 LUCENE_CLASS(SetBasedFieldSelector);
27
28 protected:
29 HashSet<String> fieldsToLoad;
30 HashSet<String> lazyFieldsToLoad;
31
32 public:
38 virtual FieldSelectorResult accept(const String& fieldName);
39 };
40 }
41
42 #endif

clucene.sourceforge.net