gaoya
gaoya copied to clipboard
Request: Simple clustering example extending the basic query example
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<MinHashIndex>
What I'm looking for: Could you provide a simple example that shows:
- How to create points for clustering
- How to set up the clusterer
- 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! 🙏