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