Search in sources :

Example 1 with ESMemoryIndexQueryAssembler

use of org.qi4j.index.elasticsearch.assembly.ESMemoryIndexQueryAssembler in project qi4j-sdk by Qi4j.

the class DocumentationSupport method assemble.

@Override
public void assemble(ModuleAssembly module) throws AssemblyException {
    ModuleAssembly configModule = module;
    // START SNIPPET: memory
    new ESMemoryIndexQueryAssembler().withConfigModule(configModule).assemble(module);
    // END SNIPPET: memory
    // START SNIPPET: filesystem
    new ESFilesystemIndexQueryAssembler().withConfigModule(configModule).assemble(module);
    // END SNIPPET: filesystem
    // START SNIPPET: cluster
    new ESClusterIndexQueryAssembler().withConfigModule(configModule).assemble(module);
// END SNIPPET: cluster
}
Also used : ModuleAssembly(org.qi4j.bootstrap.ModuleAssembly) ESMemoryIndexQueryAssembler(org.qi4j.index.elasticsearch.assembly.ESMemoryIndexQueryAssembler) ESFilesystemIndexQueryAssembler(org.qi4j.index.elasticsearch.assembly.ESFilesystemIndexQueryAssembler) ESClusterIndexQueryAssembler(org.qi4j.index.elasticsearch.assembly.ESClusterIndexQueryAssembler)

Aggregations

ModuleAssembly (org.qi4j.bootstrap.ModuleAssembly)1 ESClusterIndexQueryAssembler (org.qi4j.index.elasticsearch.assembly.ESClusterIndexQueryAssembler)1 ESFilesystemIndexQueryAssembler (org.qi4j.index.elasticsearch.assembly.ESFilesystemIndexQueryAssembler)1 ESMemoryIndexQueryAssembler (org.qi4j.index.elasticsearch.assembly.ESMemoryIndexQueryAssembler)1