Class LuceneFieldMappingWriter
- java.lang.Object
-
- com.atlassian.confluence.internal.index.lucene.LuceneFieldMappingWriter
-
- All Implemented Interfaces:
FieldMappings.FieldMappingWriter
public class LuceneFieldMappingWriter extends Object implements FieldMappings.FieldMappingWriter
Implementation ofFieldMappings.FieldMappingWriter
for Lucene, which is no-op- Since:
- 8.6
-
-
Constructor Summary
Constructors Constructor Description LuceneFieldMappingWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
putIfAbsent(FieldMapping mapping)
Create the specified field mapping on the underlying index if it is not already present.
-
-
-
Method Detail
-
putIfAbsent
public boolean putIfAbsent(FieldMapping mapping)
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.
-
-