Interface FieldMappings.FieldMappingWriter

    • Method Detail

      • putIfAbsent

        boolean putIfAbsent​(FieldMapping mapping)
                     throws SearchIndexAccessException
        Create the specified field mapping on the underlying index if it is not already present.
        Parameters:
        mapping - a mapping to add
        Returns:
        true if the mapping was created on the index, or false if it was already present.
        Throws:
        SearchIndexAccessException - if the mapping failed to be created