Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Simple clustering example extending the basic query example #32

Open
philipoedi opened this issue Feb 8, 2025 · 0 comments
Open

Comments

@philipoedi
Copy link

Hi! 👋

I'm trying to use the clustering functionality of gaoya, and I'm having trouble getting it to work. I've successfully used the basic query example from the documentation, but I'm struggling to extend it to use the clustering feature.

What I've tried:

  • I can successfully create and query a MinHashIndex
  • I'm trying to use the clusterer with this index
  • Getting error with QueryIndex trait implementation for Arc

What I'm looking for:
Could you provide a simple example that shows:

  1. How to create points for clustering
  2. How to set up the clusterer
  3. How to use the cluster method with MinHashIndex

Ideally, this would be an extension of the basic query example that's already in the documentation, as this would help show how to bridge from querying to clustering.

Environment:

  • Rust version: 1.83.0
  • gaoya version: 0.2.0

Thank you for your help! 🙏

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

No branches or pull requests

1 participant