Versions in this module Expand all Collapse all v0 v0.1.0 Oct 19, 2024 Changes in this version + type Client struct + func New(stack http.Stack, host string) *Client + func (api *Client) Query(ctx context.Context, cask curie.IRI, q Query) (*Result, error) + func (api *Client) Write(ctx context.Context, cask curie.IRI, bag []Sentence) error + type Hit struct + Rank float32 + type Query struct + Distance float32 + EfSearch int + K int + Text string + type Result struct + Hits []Hit + Source optimum.Source + Took time.Duration + type Sentence struct + Headline []schemaorg.Headline + IsPartOf schemaorg.IsPartOf + Keywords []schemaorg.Keywords + Links []schemaorg.RelatedLink + Text schemaorg.Text + type Writer struct + func NewWriter(stack http.Stack, host string, cask curie.IRI, chunk int) *Writer + func (stream *Writer) Sync(ctx context.Context) (err error) + func (stream *Writer) Write(ctx context.Context, v Sentence) error