Self Checks
Describe your problem
There is a hard-coded limit=10000 in doc_metadata_service.py, which applies to both metadata updates and document metadata display in knowledge bases. I would like to ask why this limit was introduced.
For knowledge bases with more than 10,000 documents, metadata can still be updated via missing_doc, which makes this limit seem redundant for the update scenario. However, the display function cannot bypass the 10000 retrieval cap.
Could you consider adopting other Elasticsearch APIs to remove this restriction? Also, is there any official plan to optimize or adjust this limit in future releases?
Self Checks
Describe your problem
There is a hard-coded limit=10000 in doc_metadata_service.py, which applies to both metadata updates and document metadata display in knowledge bases. I would like to ask why this limit was introduced.
For knowledge bases with more than 10,000 documents, metadata can still be updated via missing_doc, which makes this limit seem redundant for the update scenario. However, the display function cannot bypass the 10000 retrieval cap.
Could you consider adopting other Elasticsearch APIs to remove this restriction? Also, is there any official plan to optimize or adjust this limit in future releases?