Documentation ¶
Index ¶
- type API
- type Creator
- func (creator *Creator) Do(ctx context.Context) (*DocWrapper, error)
- func (creator *Creator) PayloadDoc() (*models.Docs, error)
- func (creator *Creator) WithDBName(name string) *Creator
- func (creator *Creator) WithDocs(documents []interface{}) *Creator
- func (creator *Creator) WithSpaceName(name string) *Creator
- type DeleteResultDocs
- type DeleteWrapper
- type Deleter
- func (query *Deleter) Do(ctx context.Context) (*DeleteWrapper, error)
- func (query *Deleter) PayloadDoc() (*models.DeleteRequest, error)
- func (delete *Deleter) WithDBName(name string) *Deleter
- func (delete *Deleter) WithFilters(filters *models.Filters) *Deleter
- func (delete *Deleter) WithIDs(ids []string) *Deleter
- func (delete *Deleter) WithSpaceName(name string) *Deleter
- type DocWrapper
- type Query
- func (query *Query) Do(ctx context.Context) (*QueryWrapper, error)
- func (query *Query) PayloadDoc() (*models.QueryRequest, error)
- func (query *Query) WithDBName(name string) *Query
- func (query *Query) WithFilters(filters *models.Filters) *Query
- func (query *Query) WithIDs(ids []string) *Query
- func (query *Query) WithSpaceName(name string) *Query
- type QueryResultDocs
- type QueryWrapper
- type ResultDocs
- type SearchResultDocs
- type SearchWrapper
- type Searcher
- func (searcher *Searcher) Do(ctx context.Context) (*SearchWrapper, error)
- func (searcher *Searcher) PayloadDoc() (*models.SearchRequest, error)
- func (searcher *Searcher) WithDBName(name string) *Searcher
- func (searcher *Searcher) WithFilters(filters *models.Filters) *Searcher
- func (searcher *Searcher) WithLimit(limit int) *Searcher
- func (searcher *Searcher) WithSpaceName(name string) *Searcher
- func (searcher *Searcher) WithVectors(vectors []models.Vector) *Searcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func New ¶
func New(con *connection.Connection) *API
type Creator ¶
type Creator struct {
// contains filtered or unexported fields
}
func (*Creator) WithDBName ¶
func (*Creator) WithSpaceName ¶
type DeleteResultDocs ¶
type DeleteWrapper ¶
type DeleteWrapper struct {
Docs *DeleteResultDocs
}
type Deleter ¶
type Deleter struct {
// contains filtered or unexported fields
}
func (*Deleter) PayloadDoc ¶
func (query *Deleter) PayloadDoc() (*models.DeleteRequest, error)
func (*Deleter) WithDBName ¶
func (*Deleter) WithSpaceName ¶
type DocWrapper ¶
type DocWrapper struct {
Docs *ResultDocs
}
type Query ¶
type Query struct {
// contains filtered or unexported fields
}
func (*Query) PayloadDoc ¶
func (query *Query) PayloadDoc() (*models.QueryRequest, error)
func (*Query) WithDBName ¶
func (*Query) WithSpaceName ¶
type QueryResultDocs ¶
type QueryWrapper ¶
type QueryWrapper struct {
Docs *QueryResultDocs
}
type ResultDocs ¶
type SearchResultDocs ¶
type SearchWrapper ¶
type SearchWrapper struct {
Docs *SearchResultDocs
}
type Searcher ¶
type Searcher struct {
// contains filtered or unexported fields
}
func (*Searcher) PayloadDoc ¶
func (searcher *Searcher) PayloadDoc() (*models.SearchRequest, error)
func (*Searcher) WithDBName ¶
func (*Searcher) WithFilters ¶
func (*Searcher) WithSpaceName ¶
Click to show internal directories.
Click to hide internal directories.