Elasticsearch list paging method and system
A paging system and paging technology, applied in the list paging method and system field of Elasticsearch, can solve the problems affecting the page turning function and data export, limit the depth of paging, etc., achieve the effect of saving space, compressing data storage, and improving query efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] like figure 1 As shown, the present application provides a list paging method of elasticsearch, wherein the method comprises:
[0028] Step S100: Set the first paging parameters of the N page under the list, where the first page parameter includes from + size + old page number + old page last unique order field;
[0029] Further, in which the first paging parameter is in the first paging parameter * size, and is smaller than the sort field query.
[0030] Specifically, the API of RESTHIGHLEVELCLIENT is recommended by ElasticSearch, and its package system operates the method of ES, including index structure management, data increasing rendex management, common query method, and can combine native ES query native syntax, function Strong. When listing, set the first paging parameters of the N page under the list, the first page parameter includes the FROM + SIZE + Old Page + Old Page Last Unique Sort Field. From is the number of initial results that should be skipped, generall...
Embodiment 2
[0051] Based on the same inventive concept Paging list of one embodiment Elasticsearch with the preceding embodiment, the present invention also provides a paging system Elasticsearch list, such as figure 2 Shown, the system comprising:
[0052] A first setting unit 11, the first setting unit 11 for a first paging parameters n pages in the list provided, wherein said first parameter comprises a tab from + size + p + old old page last field a single sort;
[0053] A second setting unit 12, a second setting unit 12 for setting a second parameter list page n page, wherein the second parameter comprises a tab from + size + p + Old Old Page a first field the unique sorting;
[0054] A first obtaining unit 13, the first obtaining unit 13 according to the first tab and said second tab parameter parameter acquired data.
[0055] Further, the system further comprising:
[0056] A second acquiring unit, a second acquisition unit for paging the total number of pieces of data, obtaining an un...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com