code: def test_creating_index_with_non_searchable_metadata(
      engine: GenericElasticEngineBackend, dataset_id: str
  ):
      engine.create_dataset(
          id=dataset_id,
          task=TaskType.text_classification,
          metadata_values={
              "a": "value",
              "other": "value",
              "_this": "is non searchable",
              "_other": "other disabled field",
          },
          force_recreate=True,
      )
  
      # Check the schema definition
      schema = engine.get_schema(dataset_id)
      assert schema["mappings"]["properties"]["metadata"]["properties"][
          "_this"
      ] == {"type": "object", "enabled": False}
      assert schema["mappings"]["properties"]["metadata"]["properties"][
          "_other"
      ] == {"type": "object", "enabled": False}
  
file_path: argilla/tests/unit/server/daos/backend/test_generic_elastic_engine.py
imports: import uuid
  import pytest
  from argilla.server.commons.models import TaskType
  from argilla.server.daos.backend import GenericElasticEngineBackend
  from argilla.server.daos.backend.search.model import BaseRecordsQuery
  from argilla.server.errors import InvalidTextSearchError
label_desc: Use image node_id 3 for calling a global function with example usage: test_creating_index_with_non_searchable_metadata(engine, dataset_id) without return types