org.apache.lucene.queryParser.standard.config
Interface FieldDateResolutionMapAttribute
- All Superinterfaces:
- Attribute
- All Known Implementing Classes:
- FieldDateResolutionMapAttributeImpl
public interface FieldDateResolutionMapAttribute
- extends Attribute
This attribute enables the user to define a default DateResolution per field.
it's used by FieldDateResolutionFCListener.buildFieldConfig(org.apache.lucene.queryParser.core.config.FieldConfig)
setFieldDateResolutionMap
void setFieldDateResolutionMap(Map<CharSequence,DateTools.Resolution> dateRes)
- Parameters:
dateRes
- a mapping from field name to its default boost
getFieldDateResolutionMap
Map<CharSequence,DateTools.Resolution> getFieldDateResolutionMap()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.