code: def test_non_searchable_docs_are_not_present_in_metrics(
      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",
          },
          force_recreate=True,
      )
  
      docs = [
          {"text": "This is my text", "metadata": {"_this": "value"}}
      ] * 100
      assert engine.add_dataset_records(dataset_id, documents=docs) == 0
  
      metric_results = engine.compute_metric(
          dataset_id, metric_id="metadata"
      )
      assert metric_results == {}
  
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 4 for calling a global function with example usage: test_non_searchable_docs_are_not_present_in_metrics(engine, dataset_id) without return types