public interface FieldSelector
extends java.io.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(java.lang.String fieldName) |
FieldSelectorResult accept(java.lang.String fieldName)
fieldName
- the field to accept or rejectFieldSelectorResult
if the Field
named fieldName
should be loaded.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.