UpStart Commerce Search
Getting Started

OpenSearch Concepts in NoChannel Search

1min
opensearch is a powerful search and analytics engine that serves as the backbone of nochannel search capabilities before diving into its concepts, it's essential to understand foundational opensearch components opensearch index this serves as a container for data, settings, and mappings it stores and organizes documents, each of which represents a single unit of indexed data for example, an index named "products" could contain documents representing various apparel items document a document is a single unit of stored and indexed data within an opensearch index it consists of fields with corresponding values in an apparel context, a document could represent a specific product, with fields like "name," "description," "price," and "brand " lucene index opensearch internally uses lucene, a high performance, full featured text search engine library lucene creates inverted indices from documents, facilitating efficient searching and retrieval of data index mapping an index mapping defines the mapping between document fields and the corresponding lucene index it specifies how each field should be analyzed and indexed for search operations for instance, in an apparel index, the "price" field may be mapped as a numeric field for range queries opensearch search payload this encompasses the various components of a search request, including the query, boosting or burying of certain results, aggregations for data analysis, pagination for navigating large result sets, sorting criteria, and suggestions or type ahead functionality an example payload for an apparel search could include a query for "shirts," along with pagination parameters to retrieve the first 10 results opensearch search response the search response includes the results or hits matching the query, along with their relevance scores additionally, it may include aggregations providing insights into the distribution of data across different dimensions in an apparel search response, relevant products matching the query "shirts" would be returned, along with any requested aggregations like brand distribution understanding these core components of opensearch is essential for leveraging nochannel search's capabilities effectively in various applications