Hi ivyteam

As i know when Ivy start, it will reindex everything from it's DB to ES index.

Now i only want to index a specific type of class with:

List<String> reindexTypes = ...
DiCore.getGlobalInjector().getInstance(IBusinessDataManager.class).startIndexRecreation(reindexTypes );

Is it a correct way to go?


asked 18.12.2018 at 05:45

trungdv's gravatar image

accept rate: 52%

Hello @trungdv

Ivy does only reindex if there is mismatch between the db and the current es index on startup.

Yes you can use this to reindex certain types. Attention: This is not public api and can change in further releases.


answered 18.12.2018 at 06:19

Alex%20Suter's gravatar image

Alex Suter ♦♦
accept rate: 84%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 18.12.2018 at 05:45

Seen: 899 times

Last updated: 18.12.2018 at 06:19