tercul-backend/internal/adapters/graphql/schema/search.graphqls
Damir Mukimov d7390053b9
feat: Apply Jules AI changes - Search service implementation and refactoring
- Implement full-text search service with Weaviate integration
- Remove Bleve search implementation
- Add GraphQL schema files for search, work, author, and translation
- Refactor search domain interfaces
- Update Weaviate wrapper with integration tests
- Clean up unused search client files
2025-11-30 03:15:35 +01:00

27 lines
485 B
GraphQL

type Query {
search(query: String!, limit: Int, offset: Int, filters: SearchFilters): SearchResults!
}
input SearchFilters {
types: [String!]
languages: [String!]
categories: [String!]
tags: [String!]
authors: [String!]
dateFrom: String
dateTo: String
}
type SearchResults {
items: [SearchResultItem!]!
total: Int!
}
type SearchResultItem {
type: String!
work: Work
translation: Translation
author: Author
score: Float!
}