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
include
FieldSelector.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 FIELDSELECTOR_H
8
#define FIELDSELECTOR_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene {
13
16
class
LPPAPI
FieldSelector
:
public
LuceneObject
{
17
protected
:
18
FieldSelector
();
19
20
public
:
21
virtual
~
FieldSelector
();
22
23
LUCENE_CLASS
(
FieldSelector
);
24
25
public
:
27
enum
FieldSelectorResult
{
29
SELECTOR_NULL
,
30
35
SELECTOR_LOAD
,
36
42
SELECTOR_LAZY_LOAD
,
43
47
SELECTOR_NO_LOAD
,
48
54
SELECTOR_LOAD_AND_BREAK
,
55
60
SELECTOR_SIZE
,
61
64
SELECTOR_SIZE_AND_BREAK
65
};
66
67
public
:
68
virtual
FieldSelectorResult accept(
const
String& fieldName) = 0;
69
};
70
71
}
72
73
#endif
clucene.sourceforge.net