Skip to content

supports reindex#9

Merged
po3rin merged 3 commits intomainfrom
reindex
Mar 13, 2021
Merged

supports reindex#9
po3rin merged 3 commits intomainfrom
reindex

Conversation

@po3rin
Copy link
Copy Markdown
Owner

@po3rin po3rin commented Mar 13, 2021

supports reindex.
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html

index:
  # ...

  # reindex test-v1 -> reindex-v1	
  - name: reindex-v1
    mapping: testdata/test.json
    reindex:
        source: test-v1 
        slices: 3 # default=1
        waitForCompletion: true # default=false
        # 'on' field supports 2 hooks.
        # 'reindex': only when index is created for the first time.
        # 'always': always exec reindex.
        on: firstCreated

@po3rin po3rin added the enhancement New feature or request label Mar 13, 2021
@po3rin po3rin self-assigned this Mar 13, 2021
@po3rin po3rin merged commit 30e464a into main Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant