def test_custom_settings(self):
        """adding custom settings to the index should be reflected in the returned output
        Sample output:
        {'type': 'structured',
        'allFields': [{'name': 'title', 'type': 'text', 'features': []}, {'name': 'content', 'type': 'text', 'features': []}],
        'tensorFields': ['title', 'content'],
        'model': 'test-model',
        'modelProperties': {'name': 'sentence-transformers/multi-qa-MiniLM-L6-cos-v1', 'dimensions': 384, 'tokens': 128, 'type': 'hf'},
        'normalizeEmbeddings': True,
        'textPreprocessing': {'splitLength': 2, 'splitOverlap': 0, 'splitMethod': 'sentence'},
        'imagePreprocessing': {},
        'vectorNumericType': 'float',
        'annParameters': {'spaceType': 'angular', 'parameters': {'efConstruction': 128, 'm': 16}}
        }
        """
        model_properties = {'name': 'sentence-transformers/multi-qa-MiniLM-L6-cos-v1',
                            'dimensions': 384,
                            'tokens': 128,
                            'type': 'hf'}

        index_settings = {
            "type": "structured",
            'model': 'test-model',
            'modelProperties': model_properties,
            'normalizeEmbeddings': True,
            "allFields": [
                {"name": "title", "type": "text"},
                {"name": "content", "type": "text"},
            ],
            "tensorFields": ["title", "content"],
        }

        res = self.client.create_index(index_name=self.custom_index_name, settings_dict=index_settings)

        ix = self.client.index(self.custom_index_name)
        index_settings = ix.get_settings()
        fields = {"type", "allFields", "tensorFields", "model", "modelProperties",
                  "normalizeEmbeddings", "textPreprocessing", "imagePreprocessing",
                  "vectorNumericType", "annParameters"}
        self.assertTrue(fields.issubset(set(index_settings)))
adding custom settings to the index should be reflected in the returned output
        Sample output:
        {'type': 'structured',
        'allFields': [{'name': 'title', 'type': 'text', 'features': []}, {'name': 'content', 'type': 'text', 'features': []}],
        'tensorFields': ['title', 'content'],
        'model': 'test-model',
        'modelProperties': {'name': 'sentence-transformers/multi-qa-MiniLM-L6-cos-v1', 'dimensions': 384, 'tokens': 128, 'type': 'hf'},
        'normalizeEmbeddings': True,
        'textPreprocessing': {'splitLength': 2, 'splitOverlap': 0, 'splitMethod': 'sentence'},
        'imagePreprocessing': {},
        'vectorNumericType': 'float',
        'annParameters': {'spaceType': 'angular', 'parameters': {'efConstruction': 128, 'm': 16}}
        }
        
tests/api_tests/v1/tests/api_tests/structured_index/test_get_index_settings.py