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?

Thanks

asked 18.12.2018 at 05:45

trungdv's gravatar image

trungdv
(suspended)
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.

link

answered 18.12.2018 at 06:19

Alex%20Suter's gravatar image

Alex Suter ♦♦
3.1k122247
accept rate: 84%

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×22
×2

Asked: 18.12.2018 at 05:45

Seen: 1,873 times

Last updated: 18.12.2018 at 06:19