code: def test_non_searchable_fields_are_present_in_documents(
      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,
      )
      documents = [
          {
              "id": f"{i:03d}",
              "text": "This is my text",
              "metadata": {"_this": "value", "_other": {"with": "key"}},
          }
          for i in range(0, 100)
      ]
  
      assert (
          engine.add_dataset_records(dataset_id, documents=documents)
          == 0
      )
  
      total, results = engine.search_records(dataset_id, size=5)
      assert total == 100
      assert results == documents[:5]
  
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 5 for calling a global function with example usage: test_non_searchable_fields_are_present_in_documents(engine, dataset_id) without return types