Solr-based cache preheating optimization method and device
An optimization method and a technology for optimizing devices, which are applied in the directions of instruments, calculations, and electrical digital data processing, etc., can solve the problems of low cache warm-up efficiency, achieve the effects of optimizing service query speed, improving warm-up efficiency, and improving cache hit rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] Such as figure 1 As shown, the present invention provides a kind of cache preheating optimization method based on Solr, comprising:
[0048]S1. Actively filter the cache content of the previous index query manager, use the first cache mark as the first query condition to optimize the cache content of the actively filtered index query manager, and generate the current first index query manager;
[0049] S2, optimize the cache content in the currently updated first index query manager according to the second query condition, and generate the current second index query manager, wherein the second query condition is aging data defined by a custom method and user query conditions;
[0050] S3, generating a second cache tag based on the first cache tag, using the second cache tag as a third query condition to optimize the cache content in the second index query manager, and generating a current third index query manager;
[0051] S4, merge the current first index query mana...
Embodiment 2
[0071] Such as image 3 As shown, the technical solution of the present invention also provides a Solr-based cache warm-up optimization method, including:
[0072] S1. Actively filter the cache content of the previous index query manager, use the first cache mark as the first query condition to optimize the cache content of the actively filtered index query manager, and generate the current first index query manager;
[0073] S2. Acquiring the first query condition, filtering content different from the first query condition in the second query condition, and using the filtered second query condition as a basis for finally performing cache optimization;
[0074] S3, optimize the cache content in the currently updated first index query manager according to the second query condition, and generate the current second index query manager, wherein the second query condition is aging data defined by a custom method and user query conditions;
[0075] S4, generating a second cache t...
Embodiment 3
[0080] Such as Figure 4 As shown, the technical solution of the present invention also provides a Solr-based cache preheating optimization device, including:
[0081] The first optimization module 11 actively filters the cache content of the previous index query manager, uses the first cache mark as the first query condition to optimize the cache content of the actively filtered index query manager, and generates the current first index query manager device;
[0082] The second optimization module 12 optimizes the cache content in the currently updated first index query manager according to the second query condition, and generates the current second index query manager, wherein the second query condition is through a self-defined method Defined aging data and user query conditions;
[0083] The third optimization module 13 generates a second cache tag on the basis of the first cache tag, optimizes the cache content in the second index query manager by using the second cach...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


