Method and system for querying data by ElasticSearch
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- 壹药网科技(上海)股份有限公司
- Publication Date
- 2020-12-18
Smart Images

Figure 1
Abstract
Description
technical field
[0001] The present disclosure relates to the technical field of data query, in particular to ElasticSearch technology. Background technique
[0002] Elasticsearch is a Lucene-based search service that provides an enterprise-level full-text search engine with distributed multi-user capabilities. Elasticsearch is often used in cloud computing, which can realize real-time search, is stable, reliable, fast, and easy to install and use. ElasticSearch can be used to search various documents, and can realize fast and efficient query and aggregation of large amounts of data. The data in Elasticsearch is stored in shards. When performing a search, each shard is searched independently, and the data is then integrated and returned.
[0003] Elasticsearch's paging query includes From-Size mode and Scroll mode.
[0004] From-Size mode can be understood as paging in a simple sense, where From defines the offset value of the target data, and Size defines the number of cu...