org.hibernate.search.metadata
Interface FieldDescriptor
- All Superinterfaces:
- FieldSettingsDescriptor
- All Known Implementing Classes:
- FieldDescriptorImpl, NumericFieldDescriptorImpl
public interface FieldDescriptor
- extends FieldSettingsDescriptor
Metadata related to a single field. It extends @{code FieldSettingsDescriptor} to add Search specific
information, like indexNullAs(). It also contains the analyzer and field bridge used to create the
actual field for the Lucene Document.
- Author:
- Hardy Ferentschik
indexNullAs
String indexNullAs()
- Returns:
- the string used to index
null values. null in case null values are not indexed
indexNull
boolean indexNull()
- Returns:
true if null values are indexed, false otherwise- See Also:
indexNullAs()
getFieldBridge
FieldBridge getFieldBridge()
- Returns:
- the field bridge instance used to convert the property value into a string based field value
getAnalyzer
org.apache.lucene.analysis.Analyzer getAnalyzer()
- Returns:
- the analyzer used for this field,
null if the field is not analyzed
Copyright © 2006–2013 Hibernate. All rights reserved.