We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e773de4 commit 2509967Copy full SHA for 2509967
src/neo4j_graphrag/neo4j_queries.py
@@ -14,6 +14,7 @@
14
# limitations under the License.
15
from __future__ import annotations
16
17
+import warnings
18
from typing import Any, Optional
19
20
from neo4j_graphrag.filters import get_metadata_filter
@@ -232,6 +233,11 @@ def get_search_query(
232
233
Exception: If Vector Search with filters is missing required parameters.
234
ValueError: If an unsupported search type is provided.
235
"""
236
+ warnings.warn(
237
+ "The default returned 'id' field in the search results will be removed. Please switch to using 'elementId' instead.",
238
+ DeprecationWarning,
239
+ stacklevel=2,
240
+ )
241
if entity_type == EntityType.NODE:
242
if search_type == SearchType.HYBRID:
243
if filters:
0 commit comments