(self, index_name, data_type)
Initializes a similarity scorer config.

        Args:
            index_name: OpenSearch index name.
            data_type: Name of the data_type.
Initializes a similarity scorer config.
Initializes a similarity scorer config .
def __init__(self, index_name, data_type):
        """Initializes a similarity scorer config.

        Args:
            index_name: OpenSearch index name.
            data_type: Name of the data_type.
        """
        self._index_name = index_name
        self._data_type = data_type
        for k, v in self._get_config().items():
            setattr(self, k, v)
def __init__ ( self , index_name , data_type ) : self . _index_name = index_name self . _data_type = data_type for k , v in self . _get_config ( ) . items ( ) : setattr ( self , k , v )