Delete collection
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 28/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Java
- Star
- 90
- Fork
- 39
- Merge trung bình
- 22 giờ 26 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của typesense/typesense-java
-
Add and retrieve metadata section of Collection Model definition (on creation or fetch)Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
typesense/typesense-java#82 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 22/100
typesense/typesense-java#60 · 3 bình luận ·
-
Timeout exceptionĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
typesense/typesense-java#59 · 3 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
typesense/typesense-java#57 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
typesense/typesense-java#36 · 1 bình luận · 1 reaction ·
Tất cả issue của typesense/typesense-java
Issue tương tự
-
documentation good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Attachment upload accepts a file part with no file chosen and stores an empty comp_attachmentCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
eclipse-sw360/sw360#4849 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug]: Skip cross-field checkpointing validation rules when checkpointing is disabledCó thể đã có người làm @hutiefang76 đã nhận hôm nay. Đang mởaccepted bug good first issue java
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Sekelenao/Flinkboot#473 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
help wanted priority: low Review effort [1-5]: 2 status: needs-triage type: tests
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
carlos-emr/carlos#6433 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 2 ngày