Problem
CoordinodeGraph.keyword_search() raises an uncaught exception when the server returns StatusCode.UNIMPLEMENTED (i.e. older CoordiNode versions without the TextSearch endpoint). The docstring says it should return [] in this case, but only handles AttributeError (method not found), not gRPC errors.
Fix
- Wrap
text_search() call in try/except Exception with logger.debug(...) — same pattern used in refresh_schema()
- Add regression test
test_returns_empty_when_text_search_raises
Also
Closes part of the work from #22.
Problem
CoordinodeGraph.keyword_search()raises an uncaught exception when the server returnsStatusCode.UNIMPLEMENTED(i.e. older CoordiNode versions without the TextSearch endpoint). The docstring says it should return[]in this case, but only handlesAttributeError(method not found), not gRPC errors.Fix
text_search()call intry/except Exceptionwithlogger.debug(...)— same pattern used inrefresh_schema()test_returns_empty_when_text_search_raisesAlso
keyword_search,similarity_search,structured_schemato the API table inlangchain-coordinode/README.md(were missing after feat(langchain): add CoordinodeGraph.keyword_search() #41)Closes part of the work from #22.