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


LoadFirstFieldSelector.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 LOADFIRSTFIELDSELECTOR_H
8 #define LOADFIRSTFIELDSELECTOR_H
9 
10 #include "FieldSelector.h"
11 
12 namespace Lucene {
13 
16 class LPPAPI LoadFirstFieldSelector : public FieldSelector {
17 public:
19 
21 
22 public:
23  virtual FieldSelectorResult accept(const String& fieldName);
24 };
25 
26 }
27 
28 #endif
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
The FieldSelector allows one to make decisions about what Fields get loaded on a Document by IndexRea...
Definition: FieldSelector.h:16
FieldSelectorResult
Provides information about what should be done with this Field.
Definition: FieldSelector.h:27
Load the First field and break. See FieldSelectorResult#LOAD_AND_BREAK.
Definition: LoadFirstFieldSelector.h:16
virtual FieldSelectorResult accept(const String &fieldName)
Definition: AbstractAllTermDocs.h:12

clucene.sourceforge.net