7#ifndef MAPFIELDSELECTOR_H
8#define MAPFIELDSELECTOR_H
#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
A FieldSelector based on a Map of field names to FieldSelectorResults.
Definition: MapFieldSelector.h:17
virtual ~MapFieldSelector()
MapFieldSelector(Collection< String > fields)
Create a MapFieldSelector.
MapStringFieldSelectorResult fieldSelections
Definition: MapFieldSelector.h:32
MapFieldSelector(MapStringFieldSelectorResult fieldSelections)
Create a MapFieldSelector.
virtual FieldSelectorResult accept(const String &fieldName)
Load field according to its associated value in fieldSelections.
Definition: AbstractAllTermDocs.h:12
HashMap< String, FieldSelector::FieldSelectorResult > MapStringFieldSelectorResult
Definition: MapFieldSelector.h:14