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.FieldMappingWriterfor 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 booleanputIfAbsent(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.FieldMappingWriterCreate the specified field mapping on the underlying index if it is not already present.- Specified by:
putIfAbsentin interfaceFieldMappings.FieldMappingWriter- Returns:
- true if the mapping was created on the index, or false if it was already present.
-
-