Class TextFieldMapping
java.lang.Object
com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping
com.atlassian.confluence.plugins.index.api.mapping.TextFieldMapping
- All Implemented Interfaces:
FieldMapping
Field mapping for analyzed text.
- Since:
- 8.6
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(FieldMappingVisitor<T> visitor) Applies the supplied visitor to this field mapping with its respective callback.static TextFieldMapping.BuildercreateField(String value) Create a field for the current mapping with the given valuebooleanAnalyzer to be used when indexing the fieldAnalyzer to be used when searching the fieldinthashCode()toString()Methods inherited from class com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping
getName, isIndexed, isStored
-
Constructor Details
-
TextFieldMapping
-
-
Method Details
-
getAnalyzer
Analyzer to be used when indexing the field- Returns:
- The analyzer to be used when indexing the field
-
getSearchAnalyzer
Analyzer to be used when searching the field- Returns:
- The analyzer to be used when searching the field
-
createField
Create a field for the current mapping with the given value- Parameters:
value-- Returns:
- the newly created field
-
accept
Description copied from interface:FieldMappingApplies 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
-
toString
- Overrides:
toStringin classAbstractFieldMapping
-
equals
- Overrides:
equalsin classAbstractFieldMapping
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractFieldMapping
-
builder
-