Skip to content

Durable Search Provider implementation for golem:search #52

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sholance
Copy link

draft PR for search provider implementation #32

sholance added 3 commits June 28, 2025 09:09
- Add golem:search WIT interface with unified API for search operations
- Implement ElasticSearch provider with full CRUD and search functionality
- Implement OpenSearch provider with AWS IAM authentication
- Implement Algolia provider with Algolia-specific API adaptations
- Implement Typesense provider with strong schema support
- Implement Meilisearch provider with user-friendly API
- Add comprehensive test suite in test/components-rust/test-search
- Update build system to support search domain alongside LLM
- Support streaming search, faceting, filtering, highlighting across providers
- Graceful degradation for unsupported features using SearchError::Unsupported
- Rename WIT files to provider-specific names (algolia.wit, etc.)
- Update tests to match real-world scenarios:
  * E-commerce product search with categories and pricing
  * CMS article search with tags and highlights
  * Error handling for invalid queries and missing indexes
  * Durability testing for crash recovery
- Clean up verbose error messages
- Remove AI-like patterns from code
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.

1 participant