Skip to content

Commit

Permalink
fix: UUID index type support in helper function (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 authored Nov 20, 2024
1 parent 432d207 commit d71b260
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ implementation 'io.qdrant:client:1.11.0'
## 📖 Documentation

- Usage examples are available throughout the [Qdrant documentation](https://qdrant.tech/documentation/quick-start/) and [API Reference](https://api.qdrant.tech/).
- [JavaDoc Reference](https://qdrant.github.io/java-client/)
- Usage examples are available throughout the [Qdrant documentation](https://qdrant.tech/documentation/quick-start/)

## 🔌 Getting started

Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/qdrant/client/QdrantClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -2159,6 +2159,9 @@ public ListenableFuture<UpdateResult> createPayloadIndexAsync(
case Datetime:
requestBuilder.setFieldType(FieldType.FieldTypeDatetime);
break;
case Uuid:
requestBuilder.setFieldType(FieldType.FieldTypeUuid);
break;
default:
throw new IllegalArgumentException("Invalid schemaType: '" + schemaType + "'");
}
Expand Down

0 comments on commit d71b260

Please sign in to comment.