Interface FieldMapping
- All Known Implementing Classes:
AbstractFieldMapping,BinaryFieldMapping,BooleanFieldMapping,ContentPermissionSetFieldMapping,DateFieldMapping,DoubleFieldMapping,FloatFieldMapping,IntFieldMapping,LongFieldMapping,NestedStringFieldMapping,StringFieldMapping,TextFieldMapping
public interface FieldMapping
Defines how an index field is stored and indexed.
-
Method Summary
-
Method Details
-
getName
String getName()- Returns:
- name of the field
-
isStored
boolean isStored()- Returns:
- true if the original field value is stored, so it can be retrieved.
-
isIndexed
boolean isIndexed()- Returns:
- true if the field is indexed, so it can be searched
-
accept
Applies the supplied visitor to this field mapping with its respective callback.- Parameters:
visitor- The visitor to dispatch- Returns:
- The value that is returned by the supplied visitor
-