Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 2.23 KB

aws.md

File metadata and controls

42 lines (34 loc) · 2.23 KB
title description published date tags
AWS CloudSearch
Search Engine Module
true
2019-09-15 02:43:38 UTC

Amazon CloudSearch is a managed service in the AWS Cloud that makes it simple and cost-effective to set up, manage, and scale a search solution for your website or application.

Setup

Create the Search Domain

  1. Login to your AWS Console
  2. Create a new CloudSearch domain.
  3. Name your domain, choose the desired instance type and click Continue.
  4. At the Configure Index step, select Manual Configuration. Click Continue.
  5. At the Review Index Configuration step, leave everything empty and click Continue.
  6. Enter an Access Policy and Continue. It's recommended to limit by the IP of the server onto which Wiki.js is installed.
  7. Finally create the domain.

Create the Search User

  1. In IAM, click on Users.
  2. Click on Add User.
  3. Enter a User name (e.g. wikisearch) and make sure Programmatic access is enabled. Click on Next: Permissions.
  4. Choose Attach existing policies directly and search for CloudSearchFullAccess and select it.
  5. Continue through the next steps to create the user.
  6. Make note of the Access Key ID and the Secret Access Key.

Configure in Wiki.js

  1. In the Wiki.js administration area, click on Search Engine in the sidebar.
  2. Select AWS CloudSearch as the search engine.
  3. Enter the Search Domain of the AWS CloudSearch domain you just created. This is the name you entered when creating the new domain.
  4. Enter the Document Endpoint, found in the dashboard of the search domain in the AWS console.
  5. Select the Region where the search domain was created.
  6. Enter the Access Key ID and Secret Access Key generated earlier.
  7. Select the language to use for the Analysis Scheme.
  8. Click the Apply button to save and initialize the search engine. An index will be created automatically.

Note that if you already have content in your wiki, you must click on Rebuild Index afterwards to import all your existing content into the search engine. Any change (new, edit, delete page) will be handled automatically from this point forward.