7 #ifndef FIELDSELECTOR_H
8 #define FIELDSELECTOR_H
64 SELECTOR_SIZE_AND_BREAK
68 virtual FieldSelectorResult accept(
const String& fieldName) = 0;
Null value.
Definition: FieldSelector.h:29
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Load this field as in the LOAD case, but immediately return from Field loading for the Document...
Definition: FieldSelector.h:54
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
The FieldSelector allows one to make decisions about what Fields get loaded on a Document by IndexRea...
Definition: FieldSelector.h:16
Do not load the Field. Document#getField(String) and Document#getFieldable(String) should return null...
Definition: FieldSelector.h:47
Load the size of this Field rather than its value. Size is measured as number of bytes required to st...
Definition: FieldSelector.h:60
Load this Field every time the Document is loaded, reading in the data as it is encountered. Document#getField(String) and Document#getFieldable(String) should not return null. Document#add(Fieldable) should be called by the Reader.
Definition: FieldSelector.h:35
Lazily load this Field. This means the Field is valid, but it may not actually contain its data until...
Definition: FieldSelector.h:42
FieldSelectorResult
Provides information about what should be done with this Field.
Definition: FieldSelector.h:27