graphiti/graphiti_core/search
Cklee 506bc4fc98
Fix: Search methods configuration ignored (#788) (#829)
fix: respect search_methods configuration in edge_search and node_search

The search functions were ignoring the configured search_methods and
always executing all three methods (BM25, cosine similarity, and BFS).
This was causing unnecessary performance overhead - running 3x the
required computations when users only wanted specific search methods.

Now the functions build search tasks dynamically based on what's
actually configured in search_methods, only executing the requested
search algorithms.

This should significantly improve performance when users need only
specific search methods. Would appreciate your review on this approach\!

Fixes #788
2025-08-13 11:56:20 -04:00
..
__init__.py chore: Fix packaging (#38) 2024-08-25 10:07:50 -07:00
search.py Fix: Search methods configuration ignored (#788) (#829) 2025-08-13 11:56:20 -04:00
search_config.py Return reranker scores (#758) 2025-07-23 16:05:48 -04:00
search_config_recipes.py add episode scope to search (#362) 2025-04-15 19:27:56 -04:00
search_filters.py Null search datetimes (#818) 2025-08-12 12:24:37 -04:00
search_helpers.py ensure ascii default to false (#817) 2025-08-08 11:20:02 -04:00
search_utils.py move summary out of attribute extraction (#792) 2025-07-31 12:15:21 -04:00