org.apache.lucene.document

Interface FieldSelector

Known Implementing Classes:
LoadFirstFieldSelector, MapFieldSelector, SetBasedFieldSelector

public interface FieldSelector

Similar to a FileFilter, the FieldSelector allows one to make decisions about what Fields get loaded on a Document by IndexReader.document(int,FieldSelector)

Method Summary

FieldSelectorResult
accept(String fieldName)

Method Details

accept

public FieldSelectorResult accept(String fieldName)
Parameters:
fieldName -
Returns:
true if the Field with fieldName should be loaded or not

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.