Create/Delete index speedup for integration tests

(Nizsheanez) #1

Hello. We have integration tests which do lot's of Create/Delete index operations. Can you suggest which settings can i use for improve speed of tests? Current my settings are:

  "index": {
    "warmer.enabled": true,
    "number_of_shards": 1,
    "number_of_replicas": 0,
    "refresh_interval": "500",
    "store.type": "memory",
    "routing.allocation.enable": "none"

(Mark Walkom) #2

Which part are you trying to speed up?

(Nizsheanez) #3
  1. Create/Delete index operation. We do lot's of parallel Create/Delete in loops. Yes it's async, but for production we use 12 shards and replication:3 and niofs, Delete index takes 1s and Create index takes 1s-4s. As a result tests becomes slow and i looking for speedup Create/Delete process.
  2. Indexing - but actually indexing with relications:0 is enough fast.

(Mark Walkom) #4

Have you tried using bulk?

(Alexey Sharov) #5

Bulk for creating indices?(not documents)

(system) #6