Skip to content

Conversation

@RonanLOUARN
Copy link
Contributor

Description

The readme says that we can pass wait and ordering as parameter, but we can't.
So here is the fix.

Capture d’écran 2025-11-21 à 19 57 18

Copilot finished reviewing on behalf of andreibondarev November 21, 2025 19:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the create_index method in the Collections API to properly support the wait and ordering query parameters that were documented but not implemented.

Key Changes:

  • Added wait and ordering parameters to the create_index method signature
  • Implemented query parameter handling to pass these values to the Qdrant API
  • Added comprehensive test coverage for the new parameters including individual and combined usage

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
lib/qdrant/collections.rb Added wait and ordering parameters to create_index method and implemented query parameter handling
spec/qdrant/collections_spec.rb Added test cases for wait=false, ordering, and combined parameters
lib/qdrant/version.rb Bumped version to 0.9.9.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The readme says that we can pass  and  as parameter, but we can't. So here is the fix
@RonanLOUARN RonanLOUARN force-pushed the fix/collection_create_index branch from 34dfc20 to 10426b7 Compare November 21, 2025 21:02
@andreibondarev
Copy link
Collaborator

@RonanLOUARN Would you like fix the specs? Thank you for your PR!

@RonanLOUARN
Copy link
Contributor Author

Would you like fix the specs?

Sorry @andreibondarev, I did not see that the linter was raising.

Thank you for your PR!

Don't mention it, I'll use it as soon it's merged 😉

@andreibondarev andreibondarev merged commit 536ef71 into patterns-ai-core:main Nov 23, 2025
4 checks passed
@RonanLOUARN
Copy link
Contributor Author

@andreibondarev could you please publish the release to rubygems ? 🙏🏻 😊

@andreibondarev
Copy link
Collaborator

@andreibondarev could you please publish the release to rubygems ? 🙏🏻 😊

It's been published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants