Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 1.64 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.64 KB

Moqui ElasticSearch Tool Component

license release

NOTE: following moqui-framework release 2.1.3 this component with embedded ElasticSearch is no longer supported. Instead the new ElasticFacade is included in the framework as a client to an external ElasticSearch instance which can be installed in runtime/elasticsearch and automatically started/stopped in a separate process by the MoquiStart class (executable WAR, not when WAR file dropped into Servlet container).

Moqui Tool Component for ElasticSearch. Useful for scalable faceted text search, and analytics and reporting using aggregations and other great features.

To install run (with moqui-framework):

$ ./gradlew getComponent -Pcomponent=moqui-elasticsearch

This will add the component to the Moqui runtime/component directory.

The ElasticSearch, Apache Lucene, and dependent JAR files are added to the lib directory when the build is run for this component, which is designed to be done from the Moqui build (ie from the moqui root directory) along with all other component builds.

To use just install this component, build, and load seed data. The configuration for the ToolFactory is already in place in the MoquiConf.xml included in this component and will be merged with the main configuration at runtime. The seed data adds the DataDocument screens to the System app in the tools component in the default moqui-runtime.