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

Loading...
Searching...
No Matches
LoadFirstFieldSelector.h
Go to the documentation of this file.
1
2// 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:
18 virtual ~LoadFirstFieldSelector();
19
20 LUCENE_CLASS(LoadFirstFieldSelector);
21
22 public:
23 virtual FieldSelectorResult accept(const String& fieldName);
24};
25
26}
27
28#endif
FieldSelector.h
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Lucene::FieldSelector
The FieldSelector allows one to make decisions about what Fields get loaded on a Document by IndexRea...
Definition FieldSelector.h:16
Lucene::FieldSelector::FieldSelectorResult
FieldSelectorResult
Provides information about what should be done with this Field.
Definition FieldSelector.h:27
Lucene::LoadFirstFieldSelector
Load the First field and break. See FieldSelectorResult#LOAD_AND_BREAK.
Definition LoadFirstFieldSelector.h:16
Lucene::LoadFirstFieldSelector::accept
virtual FieldSelectorResult accept(const String &fieldName)
Lucene::LoadFirstFieldSelector::~LoadFirstFieldSelector
virtual ~LoadFirstFieldSelector()
Lucene
Definition AbstractAllTermDocs.h:12

clucene.sourceforge.net