Installation

edit

Installation

edit

Elastic App Search is packaged with Workplace Search as a single solution named Elastic Enterprise Search.

Deploy Enterprise Search on Elastic Cloud or download and run the solution on-premises. Get started now with a free Elastic Cloud trial. Or, set up your own infrastructure for self-managed deployments.

Deploying on Elastic Cloud

edit

Deploy Enterprise Search on Elastic Cloud with the following steps. For more details, see the relevant Elastic Cloud documentation.


Step 1. Log in to Elastic Cloud. If you’re using Elastic Cloud for the first time, create an account. New accounts include a free trial.


Step 2. Within Elastic Cloud, navigate to Create deployment to create your Enterprise Search deployment. If this is your first deployment, creating it will start your free trial.

Enter a deployment name, and change the deployment template from I/O Optimized to Enterprise Search. Optionally, change the values of other fields, such as cloud provider and geographic region.

Click Create deployment to deploy Enterprise Search.


Step 3. While waiting for the deployment to start, download or copy the elastic user password shown on the screen. These credentials are shown only once, so record them securely.

Once the Open Enterprise Search button is available, click the button to visit the Enterprise Search login screen.


Step 4. Log in to Enterprise Search with the username elastic and the password you previously recorded.

From the Enterprise Search home screen, choose Launch App Search.


You’re ready to use Elastic App Search! Continue with Getting started.

Elastic Cloud documentation

edit

For more information about Enterprise Search on Elastic Cloud, refer to the following Elastic Cloud documentation:

Resetting the Enterprise Search password

edit

If you lose the password for the elastic user, you’ll need to reset it through the Elastic Cloud console. Navigate to the specific deployment within Elastic Cloud, and then click Manage and Reset password to get to the Security screen. From there, click Reset password to complete the process.

Installing on your own infrastructure

edit

Elastic provides Mac and Linux packages for installing Elasticsearch and Enterprise Search within your development environment or on production hardware you’ve provisioned.

First, satisfy all dependencies:

  • 64-bit Linux or MacOS (10.13+).
  • Java 8 or Java 11.
  • 6GB of available RAM (4GB if running Elasticsearch on a separate machine).
  • 5GB of available storage.

Next, you’ll need to get Elasticsearch up and running:


Step 1. Download Elasticsearch 7.7.1 and navigate to the newly unpacked directory.


Step 2. Start Elasticsearch:

$ bin/elasticsearch

We must now configure Enterprise Search:

Step 3. Download Enterprise Search 7.7.1 and navigate to the newly unpacked directory.


Step 4. Locate the config/enterprise-search.yml file and add the following line. It allows Enterprise Search to create the appropriate indices for the target Elasticsearch cluster:

allow_es_settings_modification: true

allow_es_settings_modification: true can be used safely if the cluster is used for Enterprise Search only. An alternative option is to set auto_create_index at the cluster level. See Elasticsearch cluster settings for more information.


Step 5. You must also set at least one encryption key in the same config/enterprise-search.yml configuration file (256-bit key recommended), as an array:

secret_management.encryption_keys: [{encryption_key1}, {encryption_key2}, {...}]

See Configuring encryption keys in the Enterprise Search documentation for more information.


Step 6. Run the following command to start Enterprise Search.

$ bin/enterprise-search

Step 7. Head to http://localhost:3002.

From the Enterprise Search home screen, choose Launch App Search.


You’re ready to use Elastic App Search! Continue with Getting started.

Elasticsearch cluster settings

edit

Enterprise Search makes alterations to the auto_create_index persistent and transient settings within Elasticsearch when using allow_es_settings_modification: true. Avoid making changes to those settings as it may result in unintended consequences.

An alternative approach involves setting the auto_create_index configuration in elasticsearch.yml for the target Elasticsearch cluster:

action.auto_create_index: ".ent-search-*-logs-*,-.ent-search-*,-test-.ent-search-*,+*"

Using this alternative approach allows you to maintain all Elasticsearch-specific settings at the cluster level.

Resetting the Enterprise Search password

edit

Run the binary with an attached --reset-auth command:

  • Standard Auth: Resets login and generates new random password.
  • elasticsearch-native and elasticsearch-saml: Removes the current role mappings. All users are granted the owner role.