Skip to main content

Enhanced Full-text Document Search

Overview

The Enhanced Full-text Search module integrates OpenSearch to provide advanced search capabilities for your FormKiQ document management system. This Enterprise Add-On Module extends the built-in search functionality with powerful features including multi-tag parameter searches and full-text queries.

FormKiQ OpenSearch Architecture

Key Features

  • Advanced full-text search capabilities
  • Multiple tag parameter support
  • Optional OCR result indexing
  • Powerful query capabilities
  • Real-time indexing

Installation Process

For enhanced security, it's recommended to deploy OpenSearch within a VPC. If you're not using a VPC, you can skip this step.

  1. Access the CloudFormation console
  2. Create a new stack using the VPC template
  3. Configure CIDR ranges for your network requirements

CloudFormation VPC Configuration

note

Note the VPC Stack Name for use in OpenSearch configuration

2. OpenSearch Installation

  1. Access the CloudFormation console
  2. Create a new stack for OpenSearch
  3. Configure the following parameters:
    • AppEnvironment (must match FormKiQ installation)
    • VpcStackName (if using VPC)
    • Select private subnet CIDRs (if using VPC)
note

Note the OpenSearch Stack Name for FormKiQ configuration

3. FormKiQ Integration

  1. Select your FormKiQ stack in CloudFormation
  2. Click "Update Stack"
  3. Enter the OpenSearch Stack Name
  4. Optionally enter the VPC Stack Name
  5. Complete the stack update

CloudFormation FormKiQ Update

OpenSearch Configuration

Storage Planning

Calculate storage requirements using the formula:

<data size> * (1 + number of replicas) * 1.45 = minimum storage requirement

Example for 100GB with 1 replica:

100 * (1 + 1) * 1.45 = 290GB

Shard Configuration

Calculate optimal shard count using:

<storage requirements> * 1.1 / <shard size>

Example for 100GB with 25GB shard size:

100 * 1.1 / 25 = 5 shards

Instance Types

Data Nodes

Memory OptimizedvCPUMemory (GiB)Price Per hour
r6g.large.search216$0.167
r6g.xlarge.search432$0.335
r6g.2xlarge.search864$0.669
General PurposevCPUMemory (GiB)Price Per hour
t3.small.search22$0.036
t3.medium.search24$0.073
m6g.large.search28$0.128
m6g.xlarge.search416$0.256
m6g.2xlarge.search832$0.511

Dedicated Master Nodes

Instance countRAM sizeMax shardsRecommended type
1 – 108 GiB10Km5.large.search or m6g.large.search
11 – 3016 GiB30K5.2xlarge.search or c6g.2xlarge.search
31 – 7532 GiB40Kr5.xlarge.search or r6g.xlarge.search
76 – 12564 GiB75Kr5.2xlarge.search or r6g.2xlarge.search
126 – 200128 GiB75Kr5.4xlarge.search or r6g.4xlarge.search

Kibana Integration

Kibana provides powerful visualization and exploration capabilities for your document data.

Access Configuration

  1. Default access through FormKiQ 'Admins' group
  2. System access via opensearch_lambda_role
  3. Access requires VPN or SSH tunnel setup

Dashboard Access

  1. Find OpenSearch Dashboards URL in AWS Console
  2. Configure secure access method (VPN/SSH tunnel)
  3. Login with appropriate credentials

Kibana Console

note

Access requires VPN or SSH tunnel. See:

API Integration

Available Endpoints

PUT /documents/{documentId}/fulltext

Updates document's full-text metadata in OpenSearch

note

All FormKiQ API endpoints are case-sensitive

For detailed pricing information and configuration examples, see our Cost Analysis Guide.