Documentation ¶
Index ¶
- func Add(indexName string, typeName string, doc interface{}) (bool, error)
- func BatchAdd(indexName string, typeName string, docList []interface{}) (int64, error)
- func DeleteAll(indexName string, typeName string) (int64, error)
- func DeleteIndex(indexName string) (bool, error)
- func Ping() (interface{}, int, error)
- func RawSearch(indexName string, typeName string, queryString string, pageSize int, ...) (*elastic.SearchResult, error)
- func Search(indexName string, typeName string, query elastic.Query, pageSize int, ...) ([]*json.RawMessage, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteIndex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.