Package org.apache.lucene.document
Interface FieldSelector
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
LoadFirstFieldSelector
,MapFieldSelector
,SetBasedFieldSelector
public interface FieldSelector extends Serializable
Similar to aFileFilter
, the FieldSelector allows one to make decisions about what Fields get loaded on aDocument
byIndexReader.document(int,org.apache.lucene.document.FieldSelector)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldSelectorResult
accept(String fieldName)
-
-
-
Method Detail
-
accept
FieldSelectorResult accept(String fieldName)
- Parameters:
fieldName
- the field to accept or reject- Returns:
- an instance of
FieldSelectorResult
if theField
namedfieldName
should be loaded.
-
-