feat(elasticsearch): add mapping, settings, stats and clear actions

This commit is contained in:
onenewcode authored and GitHub committed 2026-08-31 22:31:35 +08:00
1 parent a84cb637ba
commit 8f3134dce8
32 files changed
+1262 -3

No files matched your search

+8
View File
@@ -818,6 +818,14 @@ async fn main() {
"/document-store/elasticsearch-count-documents",
post(routes::document_store::elasticsearch_count_documents),
)
.route(
"/document-store/elasticsearch/index-metadata",
post(routes::document_store::elasticsearch_get_index_metadata),
)
.route(
"/document-store/elasticsearch/documents/delete-all",
post(routes::document_store::elasticsearch_delete_all_documents),
)
.route("/document-store/list-gridfs-buckets", post(routes::document_store::list_gridfs_buckets))
.route("/document-store/create-gridfs-bucket", post(routes::document_store::create_gridfs_bucket))
.route("/document-store/delete-gridfs-bucket", post(routes::document_store::delete_gridfs_bucket))