Search in sources :

Example 1 with ReindexerConfiguration

use of org.qi4j.index.reindexer.ReindexerConfiguration in project qi4j-sdk by Qi4j.

the class ReindexerMixin method reindex.

@Override
public void reindex() {
    configuration.refresh();
    ReindexerConfiguration conf = configuration.get();
    Integer loadValue = conf.loadValue().get();
    if (loadValue == null) {
        loadValue = 50;
    }
    new ReindexerOutput(loadValue).reindex(store);
}
Also used : ReindexerConfiguration(org.qi4j.index.reindexer.ReindexerConfiguration)

Aggregations

ReindexerConfiguration (org.qi4j.index.reindexer.ReindexerConfiguration)1