es

package
v0.0.0-...-e168591 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2017 License: MIT, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

bulk_insert -index=warehouse -type=product -n=100000 -bulk-size=1000

stan@ubuntuos:~/gowork/src/github.com/stanxii/allindex$ ./bulk_insert -index=warehouse -type=product -n=5000000 -bulk-size=5000

5000000 |   6585 req/s | 12:39

  bulk_insert -index=warehouse -type=product -n=100000 -bulk-size=1000

stan@ubuntuos:~/gowork/src/github.com/stanxii/allindex$ ./bulk_insert -index=warehouse -type=product -n=5000000 -bulk-size=5000

5000000 |   6585 req/s | 12:39

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BulkDelete

func BulkDelete(begin time.Time, total uint64, bulkSize *int, client *elastic.Client, g *errgroup.Group, ctx context.Context, docsc <-chan ds.DelDoc) error

func (bd *DelBulkClient) bulkDelete(total *uint64, client *elastic.Client, ctx *context.Context, docsc <-chan ds.DelDoc) error {

func BulkUpdate

func BulkUpdate(begin time.Time, total uint64, bulkSize *int, client *elastic.Client, g *errgroup.Group, ctx context.Context, docsc <-chan common.MapStr) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL