A paging query method, device, electronic device and storage medium
By preconfiguring filtering conditions and monitoring information in distributed search engines and generating key value collections, the problems of low efficiency of deep paging query and no support for page jump access are solved, and efficient deep paging query and page jump access are achieved.
Patent Information
- Application Number
- CN202110607631.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-01
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2041-06-01
AI Technical Summary
When conducting deep paging queries, existing distributed search engines have low query efficiency and do not support page jump access.
By preconfiguring filter conditions, new information is monitored and the first critical value is generated, the information is stored in a distributed search engine, and the document identification is added to the value set of the first critical value. When a paging query request is received, the second key value is determined based on the information field value in the request, the matching first key value is found, and the target document identification is determined based on the paging parameters and the value set, thereby obtaining the target information.
Deep paging query is implemented while ensuring query performance and supports page jump access, improving query efficiency and flexibility.
Smart Images

Figure CN113254500B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a paging query method, device, electronic equipment and storage medium. Background Art
[0002] Distributed search engines, such as Elasticsearch (ES for short), support paging queries. There are two main ways of paging queries in ES: from+size and scroll.
[0003] In the from+size method, from defines the starting position of the target data, and size defines the paging size. This paging query method is only suitable for querying a small amount of data, for example, when the target data is between 0 and 10,000, the query efficiency is high. When the data volume is too large, such as more than 10,000, the query efficiency will be seriously reduced.
[0004] The scroll method uses scrolling, that is, a scroll_id is returned after each query, and the next page is queried based on the scroll_id, thereby realizing deep paging data query. This paging query method requires obtaining data page by page and is not suitable for scenarios where data is accessed by jumping pages. Summary of the invention
[0005] In view of this, an object of the present invention is to provide a paging query method, device, electronic device and storage medium, which can implement deep paging query while ensuring query performance and support page jump access.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] A paging query method, comprising:
[0008] Pre-configuring screening conditions, the screening conditions including various designated information fields in the distributed search engine;
[0009] When new information is monitored, a first key value is determined according to the value of each designated information field in the distributed search engine in the new information, the new information is stored in the distributed search engine, and a document identifier corresponding to the new information returned by the distributed search engine is added to the value set corresponding to the first key value;
[0010] When a paging query request from a user is received, a second key value is determined according to the value of each designated information field in the distributed search engine carried in the paging query request, a first key value matching the second key value is searched, a target document identifier of the paging query request is selected according to the paging parameter carried in the paging query request and a value set corresponding to the found first key value, and target information of the paging query request is obtained from the distributed search engine according to the target document identifier.
[0011] A paging query device, comprising:
[0012] A configuration unit, configured to pre-configure a screening condition, wherein the screening condition includes each designated information field in the distributed search engine;
[0013] A monitoring unit, configured to, when monitoring newly added information, determine a first key value according to the values of the newly added information corresponding to each designated information field in the distributed search engine, store the newly added information in the distributed search engine, and add a document identifier corresponding to the newly added information returned by the distributed search engine to a value set corresponding to the first key value;
[0014] A query unit is used to, when receiving a paging query request from a user, determine a second key value according to the values of each designated information field in the distributed search engine carried in the paging query request, search for a first key value matching the second key value, select a target document identifier of the paging query request according to a set of values corresponding to the paging parameters carried in the paging query request and the found first key value, and obtain target information of the paging query request from the distributed search engine according to the target document identifier.
[0015] An electronic device comprises: at least one processor, and a memory connected to the at least one processor via a bus; the memory stores one or more computer programs executable by the at least one processor; and the at least one processor implements the steps in the above-mentioned paging query method when executing the one or more computer programs.
[0016] A computer-readable storage medium stores one or more computer programs, and when the one or more computer programs are executed by a processor, the steps in the above-mentioned paging query method are implemented.
[0017] As can be seen from the above technical scheme, in the present invention, the screening conditions are pre-configured, and the screening conditions include each designated information field in the distributed search engine; the newly added information to be stored in the distributed search engine is monitored, and when the newly added information is monitored, the first keyword corresponding to the newly added information is generated according to the screening conditions, the newly added information is stored in the distributed search engine, and the document identifier corresponding to the newly added information returned by the distributed search engine is added to the document identifier set corresponding to the first keyword, so that when a paging query request is received, the second keyword can be determined according to the value of each designated information field carried by the paging query request, and then the target document identifier is determined according to the paging parameter carried by the paging query request and the value set corresponding to the first keyword matching the second keyword, and the target information of the paging query request is obtained from the distributed search engine accordingly. The present invention does not directly perform paging query in the distributed search engine, but first uses the first keyword and its value set to determine the target document identifier of the paging query request, and then reads the target information corresponding to the target document identifier in the distributed search engine, which can realize deep paging query and support page jump access while ensuring query performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] Figure 1 This is a flow chart of a paging query method according to an embodiment of the present invention;
[0020] Figure 2 This is a flow chart of a paging query method according to a second embodiment of the present invention;
[0021] Figure 3 This is a flow chart of a three-page query method according to an embodiment of the present invention;
[0022] Figure 4 This is a flow chart of a paging query method according to a fourth embodiment of the present invention;
[0023] Figure 5 This is a flow chart of a paging query method according to a fifth embodiment of the present invention;
[0024] Figure 6 This is a flow chart of a paging query method according to a sixth embodiment of the present invention;
[0025] Figure 7 This is a flow chart of a paging query method according to Embodiment 7 of the present invention;
[0026] Figure 8This is a flow chart of the paging query method of Embodiment 8 of the present invention;
[0027] Fig. 9 It is a structural diagram of a paging query device according to an embodiment of the present invention;
[0028] Fig.10 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0030] Taking ES as an example, the paging query method of the distributed search engine provided by the present invention is described in detail below:
[0031] See also Figure 1 , Figure 1 : is a flow chart of a paging query method according to an embodiment of the present invention. Figure 1 As shown, the method mainly includes the following steps:
[0032] Step 101, pre-configure screening conditions, the screening conditions including each designated information field in ES;
[0033] Step 102: when new information is monitored, determine the first key value according to the value of each designated information field in the ES in the new information, store the new information in the ES, and add the document identifier corresponding to the new information returned by the ES to the value set corresponding to the first key value;
[0034] Step 103: When a paging query request from a user is received, a second key value is determined according to the values of each designated information field in the ES carried by the paging query request, a first key value matching the second key value is searched, a target document identifier of the paging query request is selected according to a set of values corresponding to the paging parameters carried in the paging query request and the found first key value, and target information of the paging query request is obtained from the ES according to the target document identifier.
[0035] from Figure 1It can be seen from the method shown that in this embodiment, the screening conditions are pre-configured, and the screening conditions include each designated information field in the ES; the newly added information to be stored in the ES is monitored, and when the newly added information is monitored, the first keyword corresponding to the newly added information is generated according to the screening conditions, the newly added information is stored in the ES, and the document identifier corresponding to the newly added information returned by the ES is added to the document identifier set corresponding to the first keyword. In this way, when a paging query request is received, the second keyword can be determined according to the values of each designated information field carried by the paging query request, and then the target document identifier is determined according to the paging parameters carried by the paging query request and the value set corresponding to the first keyword matching the second keyword, and the target information of the paging query request is obtained from the ES accordingly. It can be seen that the present invention does not perform paging query directly in the ES, but first uses the first keyword and its value set to determine the target document identifier of the paging query request, and then reads the target information corresponding to the target document identifier in the ES, which can realize deep paging query and support page jump access while ensuring query performance.
[0036] See also Figure 2 , Figure 2 is a flow chart of a paging query method according to Embodiment 2 of the present invention. Figure 2 As shown, the method mainly includes the following steps:
[0037] Step 201: pre-configure screening conditions, wherein the screening conditions include each designated information field in the ES;
[0038] Step 2021: monitoring new information;
[0039] Step 2022: determine whether paging query using the from+size method is allowed. If yes, execute step 2023; otherwise, execute step 2024.
[0040] In this embodiment, determining whether to allow paging query using the from+size method includes: determining the sequence number range of the target information of the paging query request according to the target page number and page size included in the paging parameters carried by the paging query request; if the sequence number range does not belong to the preset sequence number range [1, N], determining that the paging query using the from+size method is allowed; otherwise, determining that the paging query using the from+size method is not allowed; wherein N is the preset number of information items.
[0041] In this embodiment, the specific value of N can be set according to actual needs, for example, it can be set to the maximum number of documents supported by ES for paging query using the from+size method, which is 10,000.
[0042] In this embodiment, the page size refers to the number of information items that can be displayed in each page. For example, when the target page number and page size carried in the paging query request are 100 and 10 respectively, it means that the query is for 10 pieces of information on page 100. The sequence number range of the target information is [1000, 1009]. Because its sequence number range is [1, 10000], the paging query can be directly performed in ES in the from+size method.
[0043] Step 2023: Obtain the target information of the paging query request in a from+size manner;
[0044] Step 2024, execute the second key value and subsequent steps based on the values corresponding to the specified information fields in the ES carried by the paging query request, that is: determine the first key value based on the values corresponding to the specified information fields in the ES in the newly added information, store the newly added information in the ES and add the document identifier corresponding to the newly added information returned by the ES to the value set corresponding to the first key value.
[0045] Step 203: When a paging query request from a user is received, a second key value is determined according to the values of each designated information field in the ES carried by the paging query request, a first key value matching the second key value is searched, a target document identifier of the paging query request is selected according to a set of values corresponding to the paging parameters carried in the paging query request and the found first key value, and target information of the paging query request is obtained from the ES according to the target document identifier.
[0046] from Figure 2It can be seen from the method shown that in this embodiment, filtering conditions are pre-configured, and the filtering conditions include various specified information fields in ES; the new information that needs to be stored in ES is monitored, and when the new information is monitored, a first keyword corresponding to the new information is generated according to the filtering conditions, the new information is stored in ES, and the document identifier corresponding to the new information returned by ES is added to the document identifier set corresponding to the first keyword; and when a paging query request is received, if the request is for information with a higher ranking, a paging query is performed in ES using the from+size method, and when the query is for information with a lower ranking (deep paging query), the second keyword is determined according to the values of the various specified information fields carried by the paging query request, and then the target document identifier is determined according to the paging parameters carried by the paging query request and the value set corresponding to the first keyword matching the second keyword, and the target information of the paging query request is obtained from ES accordingly. It can be seen that when performing deep paging query in the present invention, the paging query is not performed directly in ES, but the target document identifier of the paging query request is first determined by using the first keyword and its value set, and then the target information corresponding to the target document identifier is read from ES. This can realize deep paging query while ensuring query performance and support page jump access.
[0047] See also Figure 3 , Figure 3 : is a flow chart of a three-page query method according to an embodiment of the present invention. Figure 3 As shown, the method mainly includes the following steps:
[0048] Step 301: pre-configure screening conditions, wherein the screening conditions include each designated information field in the ES;
[0049] In this embodiment, information fields for information filtering can be pre-specified according to the user's paging query requirements, that is, designated information fields. For example, ES includes multiple fields such as user id, organization id, information type, information content, etc. The user id, organization id, and information type can be used as designated information fields for configuring filtering conditions.
[0050] In this embodiment, the filtering condition can be configured in redis. The filtering condition also includes a mandatory attribute for indicating whether each specified information field in the ES is a mandatory field; the value of the mandatory attribute includes mandatory and non-mandatory. If the value of the mandatory attribute of a specified information field is mandatory, the user must enter the value of the specified information field when querying.
[0051] Step 302: when new information is monitored, determine the first key value according to the value of each designated information field in the ES in the new information, store the new information in the ES, and add the document identifier corresponding to the new information returned by the ES to the value set corresponding to the first key value;
[0052] Step 3031: receiving a paging query request from a user;
[0053] Step 3032: determine whether there is a designated information field that meets the following conditions: the mandatory attribute of the designated information field is mandatory and the paging query request does not carry the value of the designated information field, and the value is empty. If yes, execute step 3033; otherwise, execute step 3034.
[0054] In this embodiment, for each designated information field in the ES, if the value of the mandatory attribute of the designated information field is mandatory and the paging query request does not carry the value of the designated information field and is empty, it can be determined that there is a designated information field that meets the following conditions: the value of the mandatory attribute of the designated information field is mandatory and the value of the designated information field that is not carried by the paging query request is empty.
[0055] In this embodiment, if there is a specified information field whose must-be-transmitted attribute value is a must-be-transmitted field and the paging query request does not carry the value of the specified information field, it means that the query content does not meet the requirements, so the paging query can be terminated directly.
[0056] Step 3033: output a page query request error prompt and terminate the page query;
[0057] Step 3034: determine the second key value according to the value corresponding to each specified information field in the ES carried by the paging query request, search for the first key value matching the second key value, select the target document identifier of the paging query request according to the paging parameters carried in the paging query request and the value set corresponding to the found first key value, and obtain the target information of the paging query request from the ES according to the target document identifier.
[0058] from Figure 3It can be seen from the method shown that in this embodiment, the screening conditions are pre-configured, and the screening conditions include each designated information field in the ES; the newly added information to be stored in the ES is monitored, and when the newly added information is monitored, the first keyword corresponding to the newly added information is generated according to the screening conditions, the newly added information is stored in the ES, and the document identifier corresponding to the newly added information returned by the ES is added to the document identifier set corresponding to the first keyword. In this way, when a paging query request is received, if the paging query request does not carry the designated information field that must be transmitted, the query can be terminated directly, otherwise, the second keyword can be determined according to the value of each designated information field carried by the paging query request, and then the target document identifier is determined according to the paging parameter carried by the paging query request and the value set corresponding to the first keyword matching the second keyword, and the target information of the paging query request is obtained from the ES accordingly. It can be seen that the present invention does not directly perform paging query in the ES, but first uses the first keyword and its value set to determine the target document identifier of the paging query request, and then reads the target information corresponding to the target document identifier in the ES, which can realize deep paging query and support page jump access while ensuring query performance.
[0059] See also Figure 4 , Figure 4 4 is a flow chart of a paging query method according to a fourth embodiment of the present invention. Figure 4 As shown, the method mainly includes the following steps:
[0060] Step 401: pre-configure screening conditions, wherein the screening conditions include each designated information field in the ES;
[0061] In this embodiment, information fields for information filtering can be pre-specified according to the user's paging query requirements, that is, designated information fields. For example, ES includes multiple fields such as user id, organization id, information type, information content, etc. The user id, organization id, and information type can be used as designated information fields for configuring filtering conditions.
[0062] In this embodiment, the filtering conditions can be configured in redis. The filtering conditions also include the query attributes of each specified information field in ES; the values of the query attributes include precise query and fuzzy query, wherein the precise query requires that the query words entered by the user corresponding to the specified information field whose query attribute is precise query completely match the value corresponding to the specified information field in the information to be matched, and the fuzzy match requires that the query words entered by the user corresponding to the specified information field partially match the value corresponding to the specified information field in the information to be matched.
[0063] Step 402: when new information is monitored, determine the first key value according to the value of each designated information field in the ES in the new information, store the new information in the ES, and add the document identifier corresponding to the new information returned by the ES to the value set corresponding to the first key value;
[0064] Step 4031: upon receiving a paging query request from a user, determining a second key value according to the value of each designated information field in the ES carried in the paging query request;
[0065] Step 4032: search for the first key value that matches the second key value. If found, execute step 4033; otherwise, execute step 4034.
[0066] Step 4033: select the target document identifier of the paging query request according to the paging parameter carried in the paging query request and the value set corresponding to the first key value found, and obtain the target information of the paging query request from the ES according to the target document identifier.
[0067] Step 4034, determine that the query attribute is a designated information field for fuzzy query, segment the value of the designated information field for fuzzy query, determine a group of prompt words corresponding to the value of the designated information field based on the segmentation result and a preset prompt word library, and output the group of prompt words for the user to select a prompt word to trigger the paging query request again.
[0068] In this embodiment, a prompt word library may be pre-set, and the prompt word library includes multiple word sets; determining a group of prompt words corresponding to the value of the designated information field according to the word segmentation result and the pre-set prompt word library may specifically include: searching the prompt word library for each segmented word in the word segmentation result, and if found, using the words in the word set including the segmented word as a group of prompt words corresponding to the value of the designated information field. In actual applications, determining a group of prompt words corresponding to the value of the designated information field according to the word segmentation result and the pre-set prompt word library may also be implemented by other existing methods, which will not be described in detail.
[0069] In this step 4034, if there is no designated information field whose query attribute is a fuzzy query, it can be determined that no information has been found this time, and a notification that no information has been found can be returned to the user.
[0070] from Figure 4It can be seen from the method shown that in this embodiment, filtering conditions are pre-configured, and the filtering conditions include various specified information fields in ES; the new information that needs to be stored in ES is monitored, and when the new information is monitored, a first keyword corresponding to the new information is generated according to the filtering conditions, the new information is stored in ES, and the document identifier corresponding to the new information returned by ES is added to the document identifier set corresponding to the first keyword. In this way, when a paging query request is received, the second keyword can be determined according to the values of the various specified information fields carried by the paging query request, and the first keyword matching the second keyword is searched. When the first keyword is found, the target document identifier is determined according to the paging parameters carried by the paging query request and the value set corresponding to the first keyword matching the second keyword, and the target information of the paging query request is obtained from ES accordingly. When the first keyword is not found, the user can be prompted to enter a more appropriate query word to perform the paging query again, which helps to improve the user experience. It can be seen that the present invention does not perform paging query directly in ES, but first uses the first keyword and its value set to determine the target document identifier of the paging query request, and then reads the target information corresponding to the target document identifier in ES. It can realize deep paging query while ensuring query performance and support page jump access.
[0071] See also Figure 5 , Figure 5 : is a flow chart of a paging query method according to a fifth embodiment of the present invention. Figure 5 As shown, the method mainly includes the following steps:
[0072] Step 501: pre-configure screening conditions, wherein the screening conditions include each designated information field in the ES;
[0073] In this embodiment, information fields for information filtering can be pre-specified according to the user's paging query requirements, that is, designated information fields. For example, ES includes multiple fields such as user id, organization id, information type, information content, etc. The user id, organization id, and information type can be used as designated information fields for configuring filtering conditions.
[0074] In this embodiment, the filtering conditions can be configured in redis. The filtering conditions also include the query attributes of each specified information field in ES; the values of the query attributes include precise query and fuzzy query, wherein the precise query requires that the query term corresponding to the specified information field entered by the user whose query attribute is precise query completely matches the value corresponding to the specified information field in the information to be matched, while the fuzzy match requires that the query term corresponding to the specified information field entered by the user partially matches the value corresponding to the specified information field in the information to be matched.
[0075] In this embodiment, the screening condition also includes the priority of each designated information field in the ES.
[0076] Step 5021: monitoring new information;
[0077] Step 5022: Determine whether the query attribute in each designated information field in the ES is a designated information field for fuzzy query;
[0078] Step 5023: determine whether the number of designated information fields of the query attribute fuzzy query is less than 2, if yes, execute step 5024, otherwise, execute step 5025;
[0079] Step 5024: concatenate the values of the newly added information corresponding to the designated information fields in the ES according to a preset format, determine the concatenated string as the first key value, and go to step 5026;
[0080] Step 5025: for each designated information field for which the query attribute is a fuzzy query, concatenate the value of the designated information field in the newly added information corresponding to the query attribute in the ES for which the query attribute is a fuzzy query with the values of each designated information field in the newly added information corresponding to the query attribute in the ES for which the query attribute is not a fuzzy query according to a preset format, determine the concatenated string as the first key value, and go to step 5026;
[0081] The above steps 5022 to 5025 are Figure 1 The specific refinement of "determining the first key value according to the value of each designated information field in the ES in the newly added information" in step 102 is shown.
[0082] Step 5026: determine the first key value according to the value of each designated information field in the ES in the newly added information, store the newly added information in the ES, and add the document identifier corresponding to the newly added information returned by the ES to the value set corresponding to the first key value;
[0083] In this embodiment, the document identifier corresponding to the newly added information returned by ES is added to the value set corresponding to the first key value, specifically including: adding the document identifier corresponding to the newly added information to the value set corresponding to the first key value according to a preset sorting order; the preset sorting order here can be the newly added information sorted from the earliest to the latest time.
[0084] The above steps 5021 to 5026 are Figure 1 The specific refinement of step 102 is shown.
[0085] Step 5031: receiving a paging query request from a user;
[0086] Step 5032: Determine whether the query attribute in each designated information field in the ES is a designated information field for fuzzy query;
[0087] Step 5033: determine whether the number of designated information fields of the query attribute fuzzy query is less than 2, if yes, execute step 5034, otherwise, execute step 5035;
[0088] Step 5034: concatenate the values corresponding to the designated information fields in the ES carried by the paging query request according to a preset format, determine the concatenated string as the second key value, and go to step 5036;
[0089] Step 5035. For each designated information field whose query attribute is a fuzzy query, concatenate the value of the designated information field in the ES corresponding to the query attribute being a fuzzy query carried by the paging query request and the values of the designated information fields in the ES corresponding to the query attribute being a non-fuzzy query carried by the paging query request according to a preset format, determine the concatenated string as the second key value, and go to step 5036.
[0090] The above steps 5032 to 5035 are Figure 1 The specific refinement of "determining the second key value according to the value corresponding to each designated information field in the ES carried by the paging query request" in step 103 is shown.
[0091] Step 5036: search for the first key value that matches the second key value, select the target document identifier of the paging query request based on the paging parameters carried in the paging query request and the value set corresponding to the found first key value, and obtain the target information of the paging query request from ES based on the target document identifier.
[0092] In this embodiment, selecting the target document identifier of the paging query request according to the paging parameter carried in the paging query request and the value set corresponding to the found first key value specifically includes:
[0093] When only one first key value is found, determining the serial number range of the target information of the paging query request according to the target page number and page size included in the paging parameters carried by the paging query request, and selecting a document identifier whose sorting serial number is within the serial number range from the value set corresponding to the first key value as the target document identifier of the paging query request;
[0094] When multiple first key values are found, the document identifiers of the value sets corresponding to each first key value are sorted according to the priority of the designated information field for the fuzzy query based on the query attribute on which the second key values matching the first key values are spliced, and the document identifier with a sorting sequence number within the sequence number range is used as the target document identifier of the paging query request.
[0095] For example, the query attributes of the two fields of user id and information type are fuzzy queries, where the priority of user id is higher than the priority of information type. Then, when receiving the user's paging query request, a second keyword (hereinafter referred to as key21, obtained by concatenation based on user id) can be determined according to the organization id and user id carried in the paging query request, and a second keyword (hereinafter referred to as key22, obtained by concatenation based on information type) can also be determined according to the organization id and information type carried in the paging query request. Then, if the first keyword key11 matching key21 and the first keyword key12 matching key22 are found, then when sorting the document identifiers in the value set corresponding to key11 (assuming that it includes 100 document identifiers a0-a99) and the document identifiers in the value set corresponding to key12 (assuming that it includes 100 document identifiers b0-b99), the document identifiers in the value set corresponding to key11 are sorted first, and the document identifiers in the value set corresponding to key12 are sorted last, specifically: a0-a99, b0-b99. If the target page number and page size of the paging query request are 5 and 10 respectively, it can be determined that the target document identifier of the paging query request is a50-a59, so the target information corresponding to a50-a59 can be read from the ES.
[0096] from Figure 5 It can be seen from the method shown that in this embodiment, the screening conditions are pre-configured, and the screening conditions include each designated information field in the ES; the newly added information to be stored in the ES is monitored, and when the newly added information is monitored, the first keyword corresponding to the newly added information is generated according to the screening conditions, the newly added information is stored in the ES, and the document identifier corresponding to the newly added information returned by the ES is added to the document identifier set corresponding to the first keyword. In this way, when a paging query request is received, the second keyword can be determined according to the values of each designated information field carried by the paging query request, and then the priority of the designated information field based on the query attribute of the second keyword, which is fuzzy matching, is determined according to the paging parameter carried by the paging query request and the value set corresponding to the first keyword matching the second keyword and the splicing, and the target document identifier is obtained from the ES accordingly. The target information of the paging query request is obtained. It can be seen that the present invention does not directly perform paging query in the ES, but first uses the first keyword and its value set to determine the target document identifier of the paging query request, and then reads the target information corresponding to the target document identifier in the ES, which can realize deep paging query and support page jump access while ensuring query performance.
[0097] See also Figure 6 , Figure 6 6 is a flow chart of a paging query method according to an embodiment of the present invention. Figure 6 As shown, the method mainly includes the following steps:
[0098] Step 601: pre-configure screening conditions, wherein the screening conditions include each designated information field in the ES;
[0099] Step 602: when new information is monitored, determine the first key value according to the value of each designated information field in the ES in the new information, store the new information in the ES, and add the document identifier corresponding to the new information returned by the ES to the value set corresponding to the first key value;
[0100] Step 6031: upon receiving a paging query request from a user, determining a second key value according to the value of each designated information field in the ES carried in the paging query request;
[0101] Step 6032: search for the first key value that matches the second key value. If found, execute step 6033; otherwise, execute step 6034.
[0102] In this embodiment, in order to reduce memory usage and system expenses, an expiration time can be set for each value set corresponding to the first keyword. If a paging query request for information corresponding to a document identifier in the value set corresponding to the first keyword is received within the expiration time, the expiration time of the value set corresponding to the first keyword is reset; if no paging query request for information corresponding to a document identifier in the value set corresponding to the first keyword is received within the expiration time, the value set corresponding to the first keyword is deleted.
[0103] For example, after receiving a paging query request from a user, after determining the second keyword based on the designated information field carried in the paging query request, if a first keyword matching the second keyword is found (such as the case where a first keyword value matching the second keyword value is found in step 6032), it can be determined that the paging query request is a paging query request for information corresponding to the document identifier in the value set corresponding to the first keyword. At this time, the expiration time of the value set corresponding to the first keyword can be reset.
[0104] Step 6033: select the target document identifier of the paging query request according to the paging parameter carried in the paging query request and the value set corresponding to the first key value found, and obtain the target information of the paging query request from the ES according to the target document identifier.
[0105] Step 6034: read information from ES, and determine the first key value based on the value of each specified information field in ES in each piece of information read; if the determined first key value is the same as the second key value, add the document identifier corresponding to the piece of information to the value set corresponding to the determined first key value.
[0106] In this step 6034, the first key value matching the second key value is not found in redis. This may be because the value set corresponding to the first key value has become invalid and deleted due to not being accessed for a long time. Therefore, all the information in ES can be read at this time, and the first key value can be determined according to the value corresponding to each specified information field in ES in each piece of information read. If the determined first key value is the same as the second key value, the document identifier corresponding to the piece of information is added to the value set corresponding to the determined first key value, thereby achieving the purpose of reloading the document identifier corresponding to the first key value into redis.
[0107] from Figure 6 It can be seen from the method shown that in this embodiment, the screening conditions are pre-configured, and the screening conditions include each designated information field in the ES; the newly added information to be stored in the ES is monitored, and when the newly added information is monitored, the first keyword corresponding to the newly added information is generated according to the screening conditions, the newly added information is stored in the ES, and the document identifier corresponding to the newly added information returned by the ES is added to the document identifier set corresponding to the first keyword. In this way, when a paging query request is received, the second keyword can be determined according to the value of each designated information field carried by the paging query request, and then the target document identifier is determined according to the paging parameter carried by the paging query request and the value set corresponding to the first keyword matching the second keyword, and the target information of the paging query request is obtained from the ES accordingly. In addition, in this embodiment, by setting an expiration time for the value set corresponding to the first keyword, the value set that has not been accessed for a long time can be cleared from the memory, thereby reducing memory usage and system expenses. It can be seen that the present invention does not directly perform paging query in the ES, but first uses the first keyword and its value set to determine the target document identifier of the paging query request, and then reads the target information corresponding to the target document identifier in the ES, which can realize deep paging query and support page jump access while ensuring query performance.
[0108] See also Figure 7 , Figure 7 : is a flow chart of a paging query method according to Embodiment 7 of the present invention. Figure 7 As shown, the method mainly includes the following steps:
[0109] Step 701: pre-configure screening conditions, wherein the screening conditions include each designated information field in the ES;
[0110] Step 702: when new information is monitored, determine the first key value according to the value of each designated information field in the ES in the new information, store the new information in the ES, and add the document identifier corresponding to the new information returned by the ES to the value set corresponding to the first key value;
[0111] Step 703: When a request to delete existing information is monitored, a first key value is determined based on the values of the existing information corresponding to each specified information field in the ES, the existing information is deleted from the ES, and the document identifier corresponding to the existing information is deleted from the value set corresponding to the first key value.
[0112] Step 704: When a paging query request from a user is received, a second key value is determined according to the value of each designated information field in the ES carried by the paging query request, a first key value matching the second key value is searched, a target document identifier of the paging query request is selected according to the paging parameters carried in the paging query request and a value set corresponding to the found first key value, and target information of the paging query request is obtained from the ES according to the target document identifier.
[0113] from Figure 7 It can be seen from the method shown that in this embodiment, the screening conditions are pre-configured, and the screening conditions include each designated information field in the ES; the newly added information to be stored in the ES is monitored, and when the newly added information is monitored, the first keyword corresponding to the newly added information is generated according to the screening conditions, the newly added information is stored in the ES, and the document identifier corresponding to the newly added information returned by the ES is added to the document identifier set corresponding to the first keyword. In this way, when a paging query request is received, the second keyword can be determined according to the value of each designated information field carried by the paging query request, and then the target document identifier is determined according to the paging parameter carried by the paging query request and the value set corresponding to the first keyword matching the second keyword, and the target information of the paging query request is obtained from the ES accordingly. In addition, this embodiment also supports the deletion of existing information. It can be seen that the present invention does not perform paging query directly in the ES, but first uses the first keyword and its value set to determine the target document identifier of the paging query request, and then reads the target information corresponding to the target document identifier in the ES, which can realize deep paging query and support page jump access while ensuring query performance.
[0114] See also Figure 8 , Figure 8 8 is a flow chart of a paging query method according to an eighth embodiment of the present invention. Figure 8 As shown, the method mainly includes the following steps:
[0115] Step 801: pre-configure screening conditions, wherein the screening conditions include each designated information field in the ES;
[0116] Step 802: when new information is monitored, determine the first key value according to the value of each designated information field in the ES in the new information, store the new information in the ES, and add the document identifier corresponding to the new information returned by the ES to the value set corresponding to the first key value;
[0117] Step 803: When a request to modify existing information is monitored, if the modification field carried by the modification request is a designated information field in the ES, first determine the first key value based on the values of the existing information corresponding to the designated information fields in the ES, and delete the document identifier corresponding to the existing information from the value set corresponding to the first key value; then determine the first key value based on the values of the modified existing information corresponding to the designated information fields in the ES, add the document identifier corresponding to the existing information to the value set corresponding to the first key value, and modify the existing information in the ES according to the modification request for the existing information; if the modification field carried by the modification request is not a designated information field in the ES, modify the existing information in the ES according to the modification request for the existing information.
[0118] Step 804: When a paging query request from a user is received, a second key value is determined according to the value of each designated information field in the ES carried by the paging query request, a first key value matching the second key value is searched, a target document identifier of the paging query request is selected according to the paging parameters carried in the paging query request and a value set corresponding to the found first key value, and target information of the paging query request is obtained from the ES according to the target document identifier.
[0119] from Figure 8 It can be seen from the method shown that in this embodiment, the screening conditions are pre-configured, and the screening conditions include each designated information field in the ES; the newly added information to be stored in the ES is monitored, and when the newly added information is monitored, the first keyword corresponding to the newly added information is generated according to the screening conditions, the newly added information is stored in the ES, and the document identifier corresponding to the newly added information returned by the ES is added to the document identifier set corresponding to the first keyword. In this way, when a paging query request is received, the second keyword can be determined according to the value of each designated information field carried by the paging query request, and then the target document identifier is determined according to the paging parameter carried by the paging query request and the value set corresponding to the first keyword matching the second keyword, and the target information of the paging query request is obtained from the ES accordingly. In addition, this embodiment also supports the modification of existing information. It can be seen that the present invention does not perform paging query directly in the ES, but first uses the first keyword and its value set to determine the target document identifier of the paging query request, and then reads the target information corresponding to the target document identifier in the ES, which can realize deep paging query and support page jump access while ensuring query performance.
[0120] The paging query method of the embodiment of the present invention is described in detail above. The embodiment of the present invention also provides a paging query device for a distributed search engine. Still taking ES as an example, the following is combined with Fig. 9 Provide detailed explanation.
[0121] See also Fig. 9 , Fig. 9 Schematic diagram of the structure of the paging query device according to an embodiment of the present invention. Fig. 9 As shown, the device comprises:
[0122] A configuration unit 901 is used to pre-configure a screening condition, wherein the screening condition includes each specified information field in the ES;
[0123] The monitoring unit 902 is used to determine the first key value according to the value of each specified information field in the ES in the new information when monitoring the new information, store the new information in the ES and add the document identifier corresponding to the new information returned by the ES to the value set corresponding to the first key value;
[0124] The query unit 903 is used to determine the second key value according to the values of each specified information field in the ES carried by the paging query request when receiving the user's paging query request, search for the first key value matching the second key value, select the target document identifier of the paging query request according to the paging parameters carried in the paging query request and the value set corresponding to the found first key value, and obtain the target information of the paging query request from the ES according to the target document identifier.
[0125] Fig. 9 In the device shown,
[0126] After receiving the paging query request from the user, the query unit 903 determines the second key value according to the value of each designated information field in the ES carried by the paging query request and before the subsequent steps, further comprising:
[0127] Determine whether paging query is allowed using the from+size method. If so, obtain the target information of the paging query request according to the from+size method. Otherwise, determine the second key value and subsequent steps based on the values of each specified information field in the ES carried by the paging query request.
[0128] Fig. 9 In the device shown,
[0129] The query unit 903 determines whether to allow paging query using the from+size method, including:
[0130] The serial number range of the target information of the paging query request is determined according to the target page number and page size included in the paging parameters carried by the paging query request. If the serial number range does not belong to the preset serial number range [1, N], it is determined that the paging query is allowed to be performed using the from+size method. Otherwise, it is determined that the paging query is not allowed to be performed using the from+size method; wherein N is the preset number of information items.
[0131] Fig. 9 In the device shown,
[0132] The screening condition also includes a mandatory attribute for indicating whether a specified information field in the ES is a mandatory field; the value of the mandatory attribute includes mandatory and non-mandatory;
[0133] After receiving the paging query request from the user, the query unit 903 determines the second key value according to the value of each designated information field in the ES carried by the paging query request and before the subsequent steps, further comprising:
[0134] For each designated information field in the ES, when the mandatory attribute value of the designated information field is mandatory and the paging query request does not carry the value of the designated information field, a paging query request error prompt is output and the paging query is terminated.
[0135] Fig. 9 In the device shown,
[0136] The screening conditions also include query attributes of each specified information field in ES; the values of the query attributes include precise query and fuzzy query;
[0137] The query unit 903 is further used to: if the first key value matching the second key value is not found, determine that the query attribute is a designated information field of a fuzzy query, segment the value of the designated information field whose query attribute is a fuzzy query, determine a group of prompt words corresponding to the value of the designated information field according to the segmentation result and a preset prompt word library, and output the group of prompt words for the user to select a prompt word to trigger the paging query request again.
[0138] Fig. 9 In the device shown,
[0139] The screening conditions also include query attributes of each specified information field in ES; the values of the query attributes include precise query and fuzzy query;
[0140] The monitoring unit 902 determines the first key value according to the value of each designated information field in the ES in the newly added information, including:
[0141] Determine that the query attribute in each designated information field in the ES is a designated information field for fuzzy query;
[0142] If the query attribute is a fuzzy query and the number of designated information fields is less than 2, the values of the newly added information corresponding to the designated information fields in the ES are concatenated according to a preset format, and the concatenated string is determined as the first key value;
[0143] Otherwise, for each designated information field for which the query attribute is a fuzzy query, the value of the designated information field in the newly added information corresponding to the query attribute in the ES for which the query attribute is a fuzzy query is concatenated with the values of each designated information field in the newly added information corresponding to the query attribute in the ES for which the query attribute is not a fuzzy query, in accordance with a preset format, and the concatenated string is determined as the first key value;
[0144] The query unit 903 determines the second key value according to the value of each designated information field in the ES carried by the paging query request, including:
[0145] Determine that the query attribute in each designated information field in the ES is a designated information field for fuzzy query;
[0146] If the query attribute is a fuzzy query and the number of designated information fields is less than 2, the values corresponding to the designated information fields in the ES carried by the paging query request are concatenated according to a preset format, and the concatenated string is determined as the second key value;
[0147] Otherwise, for each designated information field whose query attribute is a fuzzy query, the value of the designated information field in the ES corresponding to the query attribute being a fuzzy query carried by the paging query request and the values of the designated information fields in the ES corresponding to the query attribute being a non-fuzzy query carried by the paging query request are concatenated according to a preset format, and the concatenated string is determined as the second key value.
[0148] Fig. 9 In the device shown, the screening condition also includes the priority of each designated information field in the ES;
[0149] The monitoring unit 902 adds the document identifier corresponding to the newly added information returned by the ES to the value set corresponding to the first key value, including: adding the document identifier corresponding to the newly added information to the value set corresponding to the first key value according to a preset sorting order;
[0150] The query unit 902 selects a target document identifier of the paging query request according to the paging parameter carried in the paging query request and the value set corresponding to the found first key value, including:
[0151] When only one first key value is found, determining the serial number range of the target information of the paging query request according to the target page number and page size included in the paging parameters carried by the paging query request, and selecting a document identifier whose sorting serial number is within the serial number range from the value set corresponding to the first key value as the target document identifier of the paging query request;
[0152] When multiple first key values are found, the document identifiers of the value sets corresponding to each first key value are sorted according to the priority of the designated information field for the fuzzy query based on the query attribute on which the second key values matching the first key values are spliced, and the document identifier with a sorting sequence number within the sequence number range is used as the target document identifier of the paging query request.
[0153] Fig. 9 In the device shown,
[0154] The monitoring unit 902 is further used to: set an expiration time for each value set corresponding to the first keyword, and if a paging query request for information corresponding to a document identifier in the value set corresponding to the first keyword is received within the expiration time, reset the expiration time of the value set corresponding to the first keyword; if no paging query request for information corresponding to a document identifier in the value set corresponding to the first keyword is received within the expiration time, delete the value set corresponding to the first keyword.
[0155] Fig. 9 In the device shown,
[0156] The query unit, 903, is further used for: if the first key value matching the second key value is not found, then reading the information from the ES, and determining the first key value based on the value corresponding to each designated information field in the ES in each piece of information read; if the determined first key value is the same as the second key value, then adding the document identifier corresponding to the piece of information to the value set corresponding to the determined first key value.
[0157] Fig. 9 In the device shown,
[0158] The monitoring unit 902 is further used to: when monitoring a request to delete existing information, determine a first key value based on the values of the existing information corresponding to each specified information field in the ES, delete the existing information from the ES and delete the document identifier corresponding to the existing information from the value set corresponding to the first key value.
[0159] Fig. 9 In the device shown,
[0160] The monitoring unit 902 is further used to: when monitoring a request to modify existing information, if the modification field carried by the modification request is a specified information field in the ES, first determine the first key value according to the values of the existing information corresponding to each specified information field in the ES, and delete the document identifier corresponding to the existing information from the value set corresponding to the first key value; then determine the first key value according to the values of the modified existing information corresponding to each specified information field in the ES, add the document identifier corresponding to the existing information to the value set corresponding to the first key value, and modify the existing information in the ES according to the modification request for the existing information; if the modification field carried by the modification request is not a specified information field in the ES, modify the existing information in the ES according to the modification request for the existing information.
[0161] The embodiment of the present invention further provides an electronic device, such as Fig.10 As shown, the electronic device includes: at least one processor 1001, and a memory 1002 connected to the at least one processor 1001 through a bus; the memory 1002 stores one or more computer programs that can be executed by the at least one processor 1001; when the at least one processor 1001 executes the one or more computer programs, Figure 1-8 The steps in the paging query method shown in any flowchart.
[0162] The embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more computer programs, and when the one or more computer programs are executed by a processor, Figure 1-8 The steps in the paging query method shown in any flowchart.
[0163] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A paging query method, characterized in that: The method includes: Pre-configuring screening conditions, the screening conditions including various designated information fields in the distributed search engine; When new information is monitored, a first key value is determined according to the value of each designated information field in the distributed search engine in the new information, the new information is stored in the distributed search engine, and a document identifier corresponding to the new information returned by the distributed search engine is added to the value set corresponding to the first key value; When a paging query request from a user is received, a second key value is determined according to the value of each designated information field in the distributed search engine carried in the paging query request, a first key value matching the second key value is searched, a target document identifier of the paging query request is selected according to the paging parameter carried in the paging query request and a value set corresponding to the found first key value, and target information of the paging query request is obtained from the distributed search engine according to the target document identifier.
2. The method according to claim 1, characterized in that After receiving a paging query request from a user, before determining a second key value according to the value of each designated information field in the distributed search engine carried by the paging query request and subsequent steps, the method further includes: Determine whether the from+size method is allowed for paging query. If so, obtain the target information of the paging query request according to the from+size method. Otherwise, determine the second key value and subsequent steps based on the values of the specified information fields carried by the paging query request in the distributed search engine.
3. The method according to claim 2, characterized in that The method to determine whether to use the from+size method for paging query is: The serial number range of the target information of the paging query request is determined according to the target page number and page size included in the paging parameters carried by the paging query request. If the serial number range does not belong to the preset serial number range [1, N], it is determined that the paging query is allowed to be performed using the from+size method. Otherwise, it is determined that the paging query is not allowed to be performed using the from+size method; wherein N is the preset number of information items.
4. The method according to claim 1, characterized in that The screening condition also includes a mandatory attribute for indicating whether each designated information field in the distributed search engine is a mandatory field; the value of the mandatory attribute includes mandatory and non-mandatory; After receiving a paging query request from a user, before determining a second key value according to the value of each designated information field in the distributed search engine carried by the paging query request and subsequent steps, the method further includes: For each designated information field in the distributed search engine, when the mandatory attribute value of the designated information field is mandatory and the paging query request does not carry the value of the designated information field, a paging query request error prompt is output and the paging query is terminated.
5. The method according to claim 1, characterized in that The screening conditions also include query attributes of each designated information field in the distributed search engine; the values of the query attributes include precise query and fuzzy query; The method further includes: if the first key value matching the second key value is not found, determining that the query attribute is a designated information field of a fuzzy query, segmenting the value of the designated information field whose query attribute is a fuzzy query, determining a group of prompt words corresponding to the value of the designated information field according to the segmentation result and a pre-set prompt word library, and outputting the group of prompt words for the user to select a prompt word to trigger the paging query request again.
6. The method according to claim 1, characterized in that The screening conditions also include query attributes of each designated information field in the distributed search engine; the values of the query attributes include precise query and fuzzy query; Determining a first key value according to the value of each designated information field in the distributed search engine in the newly added information includes: Determining that the query attribute in each designated information field in the distributed search engine is a designated information field of a fuzzy query; If the query attribute is a fuzzy query, the number of designated information fields is less than 2, then the values of the newly added information corresponding to the designated information fields in the distributed search engine are concatenated according to a preset format, and the concatenated string is determined as the first key value; Otherwise, for each designated information field for which the query attribute is a fuzzy query, the value of the designated information field in the newly added information corresponding to the query attribute in the distributed search engine for which the query attribute is a fuzzy query is concatenated with the values of each designated information field in the newly added information corresponding to the query attribute in the distributed search engine for which the query attribute is not a fuzzy query, in accordance with a preset format, and the concatenated string is determined as the first key value; Determining the second key value according to the value of each designated information field in the distributed search engine carried by the paging query request includes: Determining that the query attribute in each designated information field in the distributed search engine is a designated information field of a fuzzy query; If the query attribute is a fuzzy query and the number of designated information fields is less than 2, then the values of the designated information fields in the distributed search engine carried by the paging query request are concatenated according to a preset format, and the concatenated string is determined as the second key value; Otherwise, for each designated information field whose query attribute is a fuzzy query, the value of the designated information field in the distributed search engine corresponding to the query attribute being a fuzzy query carried by the paging query request and the values of the designated information fields in the distributed search engine corresponding to the query attribute being not a fuzzy query carried by the paging query request are concatenated according to a preset format, and the concatenated string is determined as the second key value.
7. The method according to claim 6, characterized in that The screening conditions also include the priority of each designated information field in the distributed search engine; Adding the document identifier corresponding to the newly added information returned by the distributed search engine to the value set corresponding to the first key value includes: adding the document identifier corresponding to the newly added information to the value set corresponding to the first key value according to a preset sorting order; Selecting a target document identifier of the paging query request according to the paging parameter carried in the paging query request and a value set corresponding to the found first key value includes: When only one first key value is found, determining the serial number range of the target information of the paging query request according to the target page number and page size included in the paging parameters carried by the paging query request, and selecting a document identifier whose sorting serial number is within the serial number range from the value set corresponding to the first key value as the target document identifier of the paging query request; When multiple first key values are found, the document identifiers of the value sets corresponding to each first key value are sorted according to the priority of the designated information field for the fuzzy query based on the query attribute on which the second key values matching the first key values are spliced, and the document identifier with a sorting sequence number within the sequence number range is used as the target document identifier of the paging query request.
8. The method according to claim 1, characterized in that The method further includes: setting an expiration time for each value set corresponding to the first keyword, and if a paging query request for information corresponding to a document identifier in the value set corresponding to the first keyword is received within the expiration time, resetting the expiration time of the value set corresponding to the first keyword; if no paging query request for information corresponding to a document identifier in the value set corresponding to the first keyword is received within the expiration time, deleting the value set corresponding to the first keyword.
9. The method according to claim 8, characterized in that The method further includes: if the first key value matching the second key value is not found, reading information from the distributed search engine, and determining the first key value based on the values of each piece of information read corresponding to each designated information field in the distributed search engine; if the determined first key value is the same as the second key value, adding the document identifier corresponding to the piece of information to the value set corresponding to the determined first key value.
10. The method according to claim 1, characterized in that The method further includes: when monitoring a request to delete existing information, determining a first key value based on the values of the existing information corresponding to each designated information field in the distributed search engine, deleting the existing information from the distributed search engine and deleting the document identifier corresponding to the existing information from the value set corresponding to the first key value.
11. The method according to claim 1, characterized in that: The method further includes: when monitoring a request to modify existing information, if the modification field carried by the modification request is a designated information field in the distributed search engine, first determining a first key value according to the values of the existing information corresponding to each designated information field in the distributed search engine, and deleting the document identifier corresponding to the existing information from the value set corresponding to the first key value; then determining the first key value according to the values of the modified existing information corresponding to each designated information field in the distributed search engine, adding the document identifier corresponding to the existing information to the value set corresponding to the first key value, and modifying the existing information in the distributed search engine according to the modification request for the existing information; if the modification field carried by the modification request is not a designated information field in the distributed search engine, modifying the existing information in the distributed search engine according to the modification request for the existing information.
12. A paging query device, characterized in that: The device includes: A configuration unit, configured to pre-configure a screening condition, wherein the screening condition includes each designated information field in the distributed search engine; A monitoring unit, configured to, when monitoring newly added information, determine a first key value according to the values of the newly added information corresponding to each designated information field in the distributed search engine, store the newly added information in the distributed search engine, and add a document identifier corresponding to the newly added information returned by the distributed search engine to a value set corresponding to the first key value; A query unit is used to, when receiving a paging query request from a user, determine a second key value according to the values of each designated information field in the distributed search engine carried in the paging query request, search for a first key value matching the second key value, select a target document identifier of the paging query request according to a set of values corresponding to the paging parameters carried in the paging query request and the found first key value, and obtain target information of the paging query request from the distributed search engine according to the target document identifier.
13. An electronic device comprising: at least one processor, and a memory connected to the at least one processor via a bus; The memory stores one or more computer programs that can be executed by the at least one processor; it is characterized in that when the at least one processor executes the one or more computer programs, it implements the steps in the paging query method described in any one of claims 1-11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more computer programs, and when the one or more computer programs are executed by a processor, the steps in the paging query method described in any one of claims 1 to 11 are implemented.
Citation Information
Patent Citations
Elasticsearch paging data query method and device
CN111680063A
Query method and device, electronic equipment and storage medium
CN112463827A