You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Refactor id variables in neo4j queries
* Add warning in get_search_query
* Add duplicate elementId(node) as nodeId
* Rename to elementId
* Rename node_id and rel_id to element id
* Revert start_node_id and end_node_id
* Rename to node_element_id and rel_element_id
* Update docstring
embedding_property (str): The name of the property to store the vector in.
283
283
vector (list[float]): The vector to store.
284
284
neo4j_database (Optional[str]): The name of the Neo4j database. If not provided, this defaults to "neo4j" in the database (`see reference to documentation <https://neo4j.com/docs/operations-manual/current/database-administration/#manage-databases-default>`_).
embedding_property (str): The name of the property to store the vector in.
339
339
vector (list[float]): The vector to store.
340
340
neo4j_database (Optional[str]): The name of the Neo4j database. If not provided, this defaults to "neo4j" in the database (`see reference to documentation <https://neo4j.com/docs/operations-manual/current/database-administration/#manage-databases-default>`_).
embedding_property (str): The name of the property to store the vector in.
396
396
vector (list[float]): The vector to store.
397
397
neo4j_database (Optional[str]): The name of the Neo4j database. If not provided, this defaults to "neo4j" in the database (`see reference to documentation <https://neo4j.com/docs/operations-manual/current/database-administration/#manage-databases-default>`_).
embedding_property (str): The name of the property to store the vector in.
453
453
vector (list[float]): The vector to store.
454
454
neo4j_database (Optional[str]): The name of the Neo4j database. If not provided, this defaults to "neo4j" in the database (`see reference to documentation <https://neo4j.com/docs/operations-manual/current/database-administration/#manage-databases-default>`_).
"The default returned 'id' field in the search results will be removed. Please switch to using 'elementId' instead.",
207
+
DeprecationWarning,
208
+
stacklevel=2,
209
+
)
204
210
ifsearch_type==SearchType.HYBRID:
205
211
iffilters:
206
212
raiseException("Filters are not supported with Hybrid Search")
@@ -227,7 +233,7 @@ def get_search_query(
227
233
query_tail=get_query_tail(
228
234
retrieval_query,
229
235
return_properties,
230
-
fallback_return=f"RETURN node {{ .*, `{embedding_node_property}`: null }} AS node, labels(node) AS nodeLabels, elementId(node) AS id, score",
236
+
fallback_return=f"RETURN node {{ .*, `{embedding_node_property}`: null }} AS node, labels(node) AS nodeLabels, elementId(node) AS elementId, elementId(node) AS id, score",
0 commit comments