| |
|
| java.lang.Object org.apache.lucene.document.MapFieldSelector
MapFieldSelector | public class MapFieldSelector implements FieldSelector(Code) | | A FieldSelector based on a Map of field names to FieldSelectorResults
author: Chuck Williams |
MapFieldSelector | public MapFieldSelector(Map fieldSelections)(Code) | | Create a a MapFieldSelector
Parameters: fieldSelections - maps from field names (String) to FieldSelectorResults |
MapFieldSelector | public MapFieldSelector(List fields)(Code) | | Create a a MapFieldSelector
Parameters: fields - fields to LOAD. List of Strings. All other fields are NO_LOAD. |
MapFieldSelector | public MapFieldSelector(String[] fields)(Code) | | Create a a MapFieldSelector
Parameters: fields - fields to LOAD. All other fields are NO_LOAD. |
accept | public FieldSelectorResult accept(String field)(Code) | | Load field according to its associated value in fieldSelections
Parameters: field - a field name the fieldSelections value that field maps to or NO_LOAD if none. |
|
|
|