public interface FieldSelector extends Serializable
FileFilter, the FieldSelector allows one to make decisions about
what Fields get loaded on a Document by IndexReader.document(int,org.apache.lucene.document.FieldSelector)| Modifier and Type | Method and Description |
|---|---|
FieldSelectorResult |
accept(String fieldName) |
FieldSelectorResult accept(String fieldName)
fieldName - the field to accept or rejectFieldSelectorResult
if the Field named fieldName should be loaded.