Class LuceneFieldMappingWriter
java.lang.Object
com.atlassian.confluence.internal.index.lucene.LuceneFieldMappingWriter
- All Implemented Interfaces:
FieldMappings.FieldMappingWriter
Implementation of
FieldMappings.FieldMappingWriter
for Lucene, which is no-op- Since:
- 8.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
putIfAbsent
(FieldMapping mapping) Create the specified field mapping on the underlying index if it is not already present.
-
Constructor Details
-
LuceneFieldMappingWriter
public LuceneFieldMappingWriter()
-
-
Method Details
-
putIfAbsent
Description copied from interface:FieldMappings.FieldMappingWriter
Create the specified field mapping on the underlying index if it is not already present.- Specified by:
putIfAbsent
in interfaceFieldMappings.FieldMappingWriter
- Parameters:
mapping
- a mapping to add- Returns:
- true if the mapping was created on the index, or false if it was already present.
-