Delete collection
還沒有人認領這個 Issue。
評估
研究方向
The reproduction calls collections(name).delete() and then collections("service").retrieve(), so start by checking whether collections(name) makes a request or only builds a handle, since the report expects null for a deleted collection. Run the snippet against a local Typesense server to see which call throws and what status comes back. Done means either a clear explanation of the expected post-delete behaviour or a documented change, and the maintainers need to agree on that first.
由索引模型根據 Issue 內容生成。
描述
Description
Drop collection does not seem to completely remove the collection.
Steps to reproduce
CollectionResponse[] collectionResponses = client.getTypesenseClient().collections().retrieve();
for (CollectionResponse c : collectionResponses) {
client.getTypesenseClient().collections(c.getName()).delete();
}
Collection collection = client.getTypesenseClient().collections("service");
if ( collection == null){
// create the schema
}
else {
CollectionResponse retrieve = collection.retrieve();
// throws exception
}
Expected Behavior
Deleting an collection should drop the collection
Actual Behavior
After deleting a collection, the collection is not null, but when accessing it an exception is thrown
Metadata
Typesense Version: 0.24.1
OS:MacOs
- 主要語言
- Java
- 星號
- 90
- 分支
- 39
- 平均合併
- 22 小時 26 分鐘
- 30 天內合併 PR
- 1
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
typesense/typesense-java 的其他 Issue
-
Add and retrieve metadata section of Collection Model definition (on creation or fetch)可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 3/5 1-2 天 新手友好度 45/100
typesense/typesense-java#82 ·
-
難度 3/5 1-2 天 新手友好度 22/100
typesense/typesense-java#60 · 3 則留言 ·
-
難度 3/5 1-2 天 新手友好度 30/100
typesense/typesense-java#59 · 3 則留言 · 1 個 reaction ·
-
難度 2/5 1-3 小時 新手友好度 48/100
typesense/typesense-java#57 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 35/100
typesense/typesense-java#36 · 1 則留言 · 1 個 reaction ·
查看 typesense/typesense-java 的全部 Issue
相似的 Issue
-
documentation good first issue help wanted
難度 1/5 1 小時以內 新手友好度 90/100
-
Attachment upload accepts a file part with no file chosen and stores an empty comp_attachment可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug
難度 2/5 1-3 小時 新手友好度 75/100
eclipse-sw360/sw360#4849 ·
維護者通常 2 天內回覆
-
[Bug]: Skip cross-field checkpointing validation rules when checkpointing is disabled可能已有人在做 @hutiefang76 今天認領。 未關閉accepted bug good first issue java
難度 2/5 1-3 小時 新手友好度 72/100
Sekelenao/Flinkboot#473 · 1 則留言 ·
維護者通常 1 天內回覆
-
help wanted priority: low Review effort [1-5]: 2 status: needs-triage type: tests
難度 1/5 1-3 小時 新手友好度 86/100
carlos-emr/carlos#6433 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 2 天內回覆