Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » document » [javadoc | source]
org.apache.lucene.document
public class: MapFieldSelector [javadoc | source]
java.lang.Object
   org.apache.lucene.document.MapFieldSelector

All Implemented Interfaces:
    FieldSelector

A FieldSelector based on a Map of field names to FieldSelectorResults
Field Summary
 Map fieldSelections     
Constructor:
 public MapFieldSelector(Map fieldSelections) 
    Create a a MapFieldSelector
    Parameters:
    fieldSelections - maps from field names (String) to FieldSelectorResults
 public MapFieldSelector(List fields) 
    Create a a MapFieldSelector
    Parameters:
    fields - fields to LOAD. List of Strings. All other fields are NO_LOAD.
 public MapFieldSelector(String[] fields) 
    Create a a MapFieldSelector
    Parameters:
    fields - fields to LOAD. All other fields are NO_LOAD.
Method from org.apache.lucene.document.MapFieldSelector Summary:
accept
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.document.MapFieldSelector Detail:
 public FieldSelectorResult accept(String field) 
    Load field according to its associated value in fieldSelections