Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix 删除文档后查询 #22

Merged
merged 2 commits into from
Jan 26, 2024
Merged

hotfix 删除文档后查询 #22

merged 2 commits into from
Jan 26, 2024

Conversation

OPChips
Copy link
Contributor

@OPChips OPChips commented Jan 26, 2024

No description provided.

server/models.py Outdated
# collection_id支持传数组或者字符串,使用数组的时候,表示跨知识库查询
filter_ = [{
"terms": { "collection_id": collection_id if isinstance(collection_id, list) else [collection_id] },
"terms": { "collection_id": collection_ids },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有document_ids,可以把collection_id移除

@lloydzhou lloydzhou merged commit 1d765ce into main Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants