class_docstr: Test InMemoryDocumentStore's specific features
class_docstr_tok: ["Test","InMemoryDocumentStore","'s","specific","features"]
code: def test_bm25_retrieval_default_filter_for_text_and_dataframes(
      self, document_store: InMemoryDocumentStore
  ):
      docs = [
          Document(),
          Document(content="Gardening"),
          Document(content="Bird watching"),
      ]
      document_store.write_documents(docs)
      results = document_store.bm25_retrieval(
          query="doesn't matter, top_k is 10", top_k=10
      )
      assert len(results) == 0
  
imports: import logging
  from unittest.mock import patch
  import pandas
  import pytest
  from haystack import Document
  from haystack.document_stores.errors import DocumentStoreError, DuplicateDocumentError
  from haystack.document_stores.in_memory import InMemoryDocumentStore
  from haystack.testing.document_store import DocumentStoreBaseTests
label_desc: Use image node_id 15 for calling the TestMemoryDocumentStore obj's underlying member method code with example usage: obj.test_bm25_retrieval_default_filter_for_text_and_dataframes(document_store) without return types