def test_search_int_field(self):
        """doesn't error out if there is a random int field"""
        self.add_documents(
            config=self.config,
            add_docs_params=AddDocsParams(
                index_name=self.default_text_index,
                docs=[
                    {
                        "_id": "5678",
                        "text_field_1": "some text",
                        "text_field_2": "baaadd",
                        "int_field_1": 144
                    },
                    {
                        "_id": "1234",
                        "text_field_1": "some text",
                        "text_field_2": "Close match hehehe",
                        "int_field_1": 88
                    }
                ]
            )
        )
        for search_method in [SearchMethod.LEXICAL, SearchMethod.TENSOR]:
            with self.subTest(f"search_method={search_method}"):
                s_res = tensor_search.search(
                    config=self.config, index_name=self.default_text_index, text="cool match",
                    search_method=search_method)
                assert len(s_res["hits"]) > 0
doesn't error out if there is a random int field
tests/integ_tests/tensor_search/integ_tests/test_search_structured.py