Power Search
Configuring ElasticSearch
Study Tracker has an optional power search feature that is implemented with ElasticSearch. To enable this feature, you will need to connect Study Tracker with an instance of ElasticSearch version 7.10 or newer. This can be accomplished with a self-hosted instance installed on the same virtual machine as Study Tracker, or on a separate managed host, such as with Amazon's OpenSearch Service.
Running a dedicated local ElasticSearch instance
The simplest setup is to run ElasticSearch from the same instance as Study Tracker, though you need to be aware of the additional CPU, memory, and disk-space usage associated with this. Follow these directions to setup a local ElasticSearch instance that will be accessible only to Study Tracker.
First, install the ElasticSearch packages:
Modify the ElasticSearch configuration to allow only connections from the same host:
Be sure to run ElasticSearch as a restartable service:
Lastly, update the Study Tracker application.properties
file and provide the following parameters to enable power search:
Connecting to ElasticSearch on Amazon OpenSearch Service
If you opt for using Amazon's managed ElasticSearch instead, be sure that you select the 'ElasticSearch 7.10' option. Study Tracker does not currently support OpenSearch, but will in the future. Configure your ElasticSearch instance (be sure networking config allows communication with your EC2) and then provide the following parameters to your application.properties
file:
Last updated