Documentation
¶
Index ¶
- type Client
- func (c *Client) Delete(ctx context.Context, ids ...string) error
- func (c *Client) Index(ctx context.Context, documents ...index.Document) error
- func (c *Client) List(ctx context.Context, options *index.ListOptions) (*index.Page[index.Document], error)
- func (c *Client) Query(ctx context.Context, query string, options *index.QueryOptions) ([]index.Result, error)
- type Document
- type Option
- type SearchHit
- type SearchHits
- type SearchResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type SearchHits ¶
type SearchHits struct {
Hits []SearchHit `json:"hits"`
}
type SearchResult ¶
type SearchResult struct {
Hits SearchHits `json:"hits"`
}
Click to show internal directories.
Click to hide internal directories.