Querqy

Querqy is a community plugin for query rewriting that helps to solve relevance issues, making search engines more precise regarding matching and scoring.

Querqy plugin installation

Querqy is currently only compatible with OpenSearch 1.3.1

  1. The Querqy plugin code is located here: querqy-opensearch. To download the plugin code ZIP file, select the green “Code” button, then select “Download ZIP”

  2. Install JDK 11. On Amazon Linux 2, install JDK11 with the following command:

    1. sudo yum install java-11-amazon-corretto
  3. Uncompress the ZIP file:

    1. unzip querqy-opensearch-main.zip
  4. Change to the uncompressed Querqy directory:

    1. cd querqy-opensearch-main
  5. Compile the plugin:

    1. ./gradlew build
  6. The compiled plugin is stored in this directory:

    1. /path/to/file/querqy-opensearch-main/build/distributions/opensearch-querqy-1.3.1.0.zip`
  7. The compiled Querqy plugin is installed the same as any OpenSearch plugin:

    1. /path/to/opensearch/bin/opensearch-plugin install file:///path/to/file/opensearch-querqy-1.3.1.0.zip
  8. Reboot the OpenSearch node:

    1. sudo reboot

After installing the Querqy plugin you can find comprehensive documentation on the Querqy.org site: Querqy