Files
plane/web/ee/components/workspace
Dheeraj Kumar Ketireddy d80dc92ff5 [WEB-4106] Migrates to OpenSearch for enhanced search (#3216)
* Migrates to OpenSearch for enhanced search

Migrates from Elasticsearch to OpenSearch to leverage its capabilities.

- Updates dependencies and configurations to use OpenSearch.
- Introduces OpenSearchHelper to streamline query building and execution,
  featuring standardized filters, query DSL with custom analyzers,
  field-specific boosts, pagination, and source field filtering.
- Implements edge n-gram analyzer for improved prefix matching in search queries.
- Modifies search views to utilize OpenSearchHelper for efficient and
  organized search results.
- Adds AttrDictField to properly serialize AttrDict objects

This migration enhances the search functionality and ensures compatibility
with the new OpenSearch infrastructure.

* Added opensearch to requirements and removed elasticsearch

* increased timeout for opensearch connections

* Minor updates to index signal handler

* Better search capability for workitem id

* Minor optimization for helper class

* Query performance improvements

* Modified management command to handle opensearch

* Replaced elasticsearc references to opensearch

* Update OpenSearch index names to include a configurable prefix from settings. Added support for OPENSEARCH_INDEX_PREFIX in Cycle, Issue, Module, Page, Project, Teamspace, View, and Workspace documents.

* Update default OpenSearch index prefix to an empty string in common settings.
2025-06-06 17:35:35 +05:30
..