Delete collection
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 28/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Java
- Estrelas
- 90
- Forks
- 39
- Merge médio
- 22h 26min
- PRs com merge (30d)
- 1
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de typesense/typesense-java
-
Add and retrieve metadata section of Collection Model definition (on creation or fetch)Talvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
typesense/typesense-java#82 ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 22/100
typesense/typesense-java#60 · 3 comentários ·
-
Timeout exceptionAberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 30/100
typesense/typesense-java#59 · 3 comentários · 1 reação ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 48/100
typesense/typesense-java#57 · 1 comentário ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
typesense/typesense-java#36 · 1 comentário · 1 reação ·
Todas as issues de typesense/typesense-java
Issues semelhantes
-
documentation good first issue help wanted
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
-
Attachment upload accepts a file part with no file chosen and stores an empty comp_attachmentTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
eclipse-sw360/sw360#4849 ·
Mantenedores costumam responder em até 2 dias
-
[Bug]: Skip cross-field checkpointing validation rules when checkpointing is disabledTalvez já em andamento @hutiefang76 assumiu hoje. Abertaaccepted bug good first issue java
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Sekelenao/Flinkboot#473 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
help wanted priority: low Review effort [1-5]: 2 status: needs-triage type: tests
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 86/100
carlos-emr/carlos#6433 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 2 dias