Elasticsearch — Unique AI Documentation

Elasticsearch

Overview

Elasticsearch is a powerful keyword search engine integrated into our RAG (Retrieval-Augmented Generation) system, specifically designed to serve the unique needs of Financial Services Industry (FSI) clients. It uses the industry-standard BM25 (Best Matching 25) scoring algorithm to provide highly relevant keyword-based search results for your financial documents and content.

When you enable the COMBINED search type in the InternalSearch tool of the Unique AI assistant, our platform intelligently combines:

This hybrid approach ensures you get the best of both worlds: semantic understanding through vectors and precise keyword matching through Elasticsearch's advanced text analysis.

This service is currently in BETA. We may continue to refine the indexing and retrieval methods as we improve the system. If you encounter any issues while using the service, we’d appreciate your feedback.

Who it’s for

Can this feature be enabled on non-azure or self-hosted tenants?

Benefits

Elasticsearch provides superior relevance scoring for keyword-based queries and improves the search performance overall. Our platform previously used PostgreSQL's built-in full-text search with n-gram-based similarity matching (pg_trgm extension). While functional, this approach had several limitations for FSI requirements.

Key benefits of Elasticsearch over PostgreSQL FTS:

Superior Relevance Scoring

Enhanced Performance

Example queries

Regulatory Compliance

Investment Research

Step-by-Step Guide

Limitations