Documentation
¶
Index ¶
- Constants
- func InjectEsWebClient(s *EsWebClient)
- func LoadEsWebClient() baseiface.ISingleton
- type EsWebClient
- func (this *EsWebClient) Cmd(cmd *pagereq.CmdRequest) *basedto.IchubResult
- func (this *EsWebClient) CmdBulkCreate(cmd *pagereq.CmdRequest) *basedto.IchubResult
- func (this *EsWebClient) CmdBulkDelete(cmd *pagereq.CmdRequest) *basedto.IchubResult
- func (this *EsWebClient) CmdBulkIndex(cmd *pagereq.CmdRequest) *basedto.IchubResult
- func (this *EsWebClient) CmdBulkUpdate(cmd *pagereq.CmdRequest) *basedto.IchubResult
- func (this *EsWebClient) CreateAlias(indexname, aliasname string) *basedto.IchubResult
- func (webcli *EsWebClient) ExecuteQuery(q *pagereqcli.HttpCliQuery) *page.PageResult
- func (this *EsWebClient) Filter(req *pagereq.QueryRequest) *page.PageResult
- func (this *EsWebClient) Get(IndexName, Id string) *page.PageResult
- func (webcli *EsWebClient) HttpCliQuery(q *pagereqcli.HttpCliQuery, query ...elastic.Query) *page.PageResult
- func (webcli *EsWebClient) HttpCliQueryNew(q *pagereqcli.HttpCliQuery, query elastic.Query) *page.PageResult
- func (webcli *EsWebClient) HttpQuery(q *pagereqcli.HttpCliQuery, query ...elastic.Query) *page.PageResult
- func (webcli *EsWebClient) HttpQuerySource(q *pagereqcli.HttpCliQuery) *page.PageResult
- func (this *EsWebClient) Keyword(req *pagees.PageEsRequest) *page.PageResult
- func (this *EsWebClient) Metadata(req *pagereq.MetadataRequest) *basedto.IchubResult
- func (this *EsWebClient) Must(req *pagereq.QueryRequest) *page.PageResult
- func (this *EsWebClient) MustNot(req *pagereq.QueryRequest) *page.PageResult
- func (this *EsWebClient) Query(req *pagereq.QueryRequest) *page.PageResult
- func (this *EsWebClient) QueryAs(req *pagereq.QueryRequest, out interface{}) *page.PageResult
- func (this *EsWebClient) Should(req *pagereq.QueryRequest) *page.PageResult
Constants ¶
View Source
const ESServerName = "web.esserver.com"
Variables ¶
This section is empty.
Functions ¶
func InjectEsWebClient ¶
func InjectEsWebClient(s *EsWebClient)
func LoadEsWebClient ¶
func LoadEsWebClient() baseiface.ISingleton
Types ¶
type EsWebClient ¶
type EsWebClient struct { basedto.BaseEntity // contains filtered or unexported fields }
依赖 suite.Suite
func FindBeanEsWebClient ¶
func FindBeanEsWebClient() *EsWebClient
func NewEsWebClient ¶
func NewEsWebClient() *EsWebClient
func (*EsWebClient) Cmd ¶
func (this *EsWebClient) Cmd(cmd *pagereq.CmdRequest) *basedto.IchubResult
func (*EsWebClient) CmdBulkCreate ¶
func (this *EsWebClient) CmdBulkCreate(cmd *pagereq.CmdRequest) *basedto.IchubResult
func (*EsWebClient) CmdBulkDelete ¶
func (this *EsWebClient) CmdBulkDelete(cmd *pagereq.CmdRequest) *basedto.IchubResult
func (*EsWebClient) CmdBulkIndex ¶
func (this *EsWebClient) CmdBulkIndex(cmd *pagereq.CmdRequest) *basedto.IchubResult
func (*EsWebClient) CmdBulkUpdate ¶
func (this *EsWebClient) CmdBulkUpdate(cmd *pagereq.CmdRequest) *basedto.IchubResult
func (*EsWebClient) CreateAlias ¶
func (this *EsWebClient) CreateAlias(indexname, aliasname string) *basedto.IchubResult
func (*EsWebClient) ExecuteQuery ¶
func (webcli *EsWebClient) ExecuteQuery(q *pagereqcli.HttpCliQuery) *page.PageResult
func (*EsWebClient) Filter ¶
func (this *EsWebClient) Filter(req *pagereq.QueryRequest) *page.PageResult
func (*EsWebClient) Get ¶
func (this *EsWebClient) Get(IndexName, Id string) *page.PageResult
func (*EsWebClient) HttpCliQuery ¶
func (webcli *EsWebClient) HttpCliQuery(q *pagereqcli.HttpCliQuery, query ...elastic.Query) *page.PageResult
hhtpcliqueryAgg
func (*EsWebClient) HttpCliQueryNew ¶
func (webcli *EsWebClient) HttpCliQueryNew(q *pagereqcli.HttpCliQuery, query elastic.Query) *page.PageResult
func (*EsWebClient) HttpQuery ¶
func (webcli *EsWebClient) HttpQuery(q *pagereqcli.HttpCliQuery, query ...elastic.Query) *page.PageResult
func (*EsWebClient) HttpQuerySource ¶
func (webcli *EsWebClient) HttpQuerySource(q *pagereqcli.HttpCliQuery) *page.PageResult
func (*EsWebClient) Keyword ¶
func (this *EsWebClient) Keyword(req *pagees.PageEsRequest) *page.PageResult
func (*EsWebClient) Metadata ¶
func (this *EsWebClient) Metadata(req *pagereq.MetadataRequest) *basedto.IchubResult
func (*EsWebClient) Must ¶
func (this *EsWebClient) Must(req *pagereq.QueryRequest) *page.PageResult
func (*EsWebClient) MustNot ¶
func (this *EsWebClient) MustNot(req *pagereq.QueryRequest) *page.PageResult
func (*EsWebClient) Query ¶
func (this *EsWebClient) Query(req *pagereq.QueryRequest) *page.PageResult
func (*EsWebClient) QueryAs ¶
func (this *EsWebClient) QueryAs(req *pagereq.QueryRequest, out interface{}) *page.PageResult
func (*EsWebClient) Should ¶
func (this *EsWebClient) Should(req *pagereq.QueryRequest) *page.PageResult
Click to show internal directories.
Click to hide internal directories.