Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Search Documentation | 2025.4

# Upgrade Elasticsearch

You can upgrade Elasticsearch to a newer release.

## Before you begin

- Upgrade the P4 Plugin Filter to the same version as P4 Search and then restart Elasticsearch. See Upgrade the P4 Plugin Filter.

## Upgrade Elasticsearch on Ubuntu

1. Unpin your Elasticsearch:

       sudo vi /etc/apt/preferences.d/elasticsearch

2. Verify that the source list for Elasticsearch version 8.x is up to date:

       sudo vi /etc/apt/sources.list.d/elastic-8.x.list

3. Verify that the Elasticsearch version is listed:

       apt list -a elasticsearch

4. Upgrade the Elasticsearch Debian package:

       sudo apt-get update && sudo apt-get upgrade elasticsearch

5. Restart the Elasticsearch service:

       sudo systemctl start elasticsearch.service

   Elasticsearch is upgraded.

## Upgrade the P4 Plugin Filter

Follow the instructions for your OS distribution:

Ubuntu:

sudo apt-get upgrade helix-plugin-filter

RHEL:

yum update helix-plugin-filter

Your search for returned results