Configuring Search

Active Collab uses ElasticSearch. If you don't configure it, Active Collab will still work - but you won't be able to use in-app search.

To run ElasticSearch, Java needs to be installed on the server. You'll also need system permissions to access your server's terminal and make changes.

Installing and Running ElasticSearch #

1

Download ElasticSearch 1.7.4 and extract the archive. (Versions 2.x and up won't work.)

2

Set Elasticsearch to run as a service.

After starting ElasticSearch, it'll listen on port 9200 by default. You'll have to keep it running on the server all the time if you want to use search in Active Collab (Elastic Search should be started as a service).

Configuring ElasticSearch #

1

In Active Collab, open System Settings > Configure Technical Settings > Configure Search.

2

Enter the Elastic Search Address (IP address or hostname).

3

Enter the Elastic Search Port (default is 9200).

4

Click Save Changes.

5

Using the terminal, navigate to /tasks in the Active Collab installation folder.

6

Rebuild the search index by running this command:

php activecollab-cli.php rebuild_search_index

Indexing might take anywhere from a few seconds to a few hours, depending on the size of your database. In-app search should be ready to use once a few "run_every_minute" Cron jobs are executed and all the data is indexed.

Note that search won't work if Cron jobs aren't configured proprerly. The first time you rebuild the index, you're letting Active Collab know that Cron jobs can start indexing changes.