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
I’m experiencing an issue with the milvus-sdk-node when using the group_by_field parameter in a search query. Here’s a summary of the issue and the steps I’ve followed:
Expected Behavior
In Python, the search query works perfectly using group_by_field to group results by a specific field. Here's the Python code that functions as expected:
Error Message
When running the above code, I receive the following error message:
{
status: {
extra_info: {},
error_code: 'UnexpectedError',
reason: 'not support search_group_by operation in the hybrid search',
code: 65535,
retriable: false,
detail: 'not support search_group_by operation in the hybrid search'
},
results: []
}
Investigation & Findings
The error disappears if I remove group_by_field="mongoId". This suggests that the group_by_field parameter is not supported in the same way within the Node.js SDK.
I’ve tested this using text embedding vectors, including text-embedding-3-small and text-embedding-3-large, but the issue persists across embedding sizes.
Steps to Reproduce
Use the Node.js SDK to create a search query with the group_by_field parameter set.
Run the query and observe the error message.
Remove the group_by_field parameter to verify that the query executes without errors.
Hi Milvus SDK Team,
I’m experiencing an issue with the milvus-sdk-node when using the group_by_field parameter in a search query. Here’s a summary of the issue and the steps I’ve followed:
Expected Behavior
In Python, the search query works perfectly using group_by_field to group results by a specific field. Here's the Python code that functions as expected:
In this Python query, setting group_by_field="mongoId" groups the results by the mongoId field without any issues.
Issue in Node.js SDK
Attempting to perform the equivalent operation in the Node.js SDK results in an error message. Here’s the Node.js code I’m using:
Error Message
When running the above code, I receive the following error message:
Investigation & Findings
The error disappears if I remove group_by_field="mongoId". This suggests that the group_by_field parameter is not supported in the same way within the Node.js SDK.
I’ve tested this using text embedding vectors, including text-embedding-3-small and text-embedding-3-large, but the issue persists across embedding sizes.
Steps to Reproduce
Use the Node.js SDK to create a search query with the group_by_field parameter set.
Run the query and observe the error message.
Remove the group_by_field parameter to verify that the query executes without errors.
Milvus-node-sdk version: "@zilliz/milvus2-sdk-node": "^2.4.9"
Milvus version: milvus-standalone, milvus:v2.4.12,
Thank you for your help and for your great work with Milvus!
Pablo
The text was updated successfully, but these errors were encountered: