FileDocCategorySizeDatePackage
FieldSelector.javaAPI DocApache Lucene 2.1.01157Wed Feb 14 10:46:42 GMT 2007org.apache.lucene.document

FieldSelector

public interface FieldSelector
Similar to a {@link java.io.FileFilter}, the FieldSelector allows one to make decisions about what Fields get loaded on a {@link Document} by {@link org.apache.lucene.index.IndexReader#document(int,org.apache.lucene.document.FieldSelector)}

Fields Summary
Constructors Summary
Methods Summary
public org.apache.lucene.document.FieldSelectorResultaccept(java.lang.String fieldName)

param
fieldName
return
true if the {@link Field} with fieldName should be loaded or not