MassIndexer parallel run with working indexes

Hi everyone!
I start to use hibernate search and have case what need to solve.

I have indexed database with 1TB of indexes in open search and need to rebuild indexes and use new only when build finished. Any possibility to do this over hibernate search MassIndexer or something else?

Yoann,
maybe your can help

1 Like

Hi,

Yes it’s possible within certain limits (no large, incompatible changes in your mapping in particular).

I’m pretty sure this question has already been asked (and answered) here or on stackoverflow, but anyway there’s a tip about that in the documentation (though it’s a bit hidden): Hibernate Search 6.2.2.Final: Reference Documentation

We do plan to provide this as a builtin feature in a future version (don’t ask me when): [HSEARCH-4954] - Hibernate JIRA

Thanks for quick answer!

We do plan to provide this as a builtin feature in a future version (don’t ask me when)

As usual with mulitask work :slight_smile:

1 Like

FWIW I implemented something in one of my applications to handle no-downtime mass indexing on the user side with Elasticsearch/OpenSearch:

You can see it used here:

Hi Yoann,
thanks. Will check soon in my production and return back. :slight_smile:

Hi Yoann!
You idea stolen :wink: and now working fine in production. Many-many-many thanks for help!
See you in Quarkus git and chat as before few times :slight_smile:

1 Like