Query statement optimization method and device
A query statement and optimization method technology, applied in the computer field, can solve the problems of increasing the difficulty of maintaining and upgrading the proxy layer, increasing the coupling of the proxy layer, and the inability to guarantee the efficiency of check syntax, etc., so as to reduce the difficulty of subsequent maintenance and upgrading, reduce Coupling, the effect of improving computing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example
[0059] In Search, the upper-level query statement is converted into a syntax tree for operation, and each field (query and check) is a separate syntax tree. Take the query statement as an example as follows:
[0060] query=local:(1) ANDparams2306:(50253716473748572)AND(dcateid0:(3306)OR(params7058:(38570865397766601)ANDdcateid0:(574)))
[0061] &&check=postdate:[20140811TO20140922]
[0062] Correspondingly, the syntax tree of the above query in the kernel is as follows image 3 As shown, the Check syntax tree is as follows Figure 4 As shown, the AND operation on the domain local: (1) is optimized as a Check filtering operation, and the optimized syntax tree is obtained as Figure 5 , Figure 6 As shown, among them, Figure 5 For the optimized Query syntax tree, Figure 6 It is the optimized Check syntax tree.
[0063] To sum up, with the help of the technical solution of the embodiment of the present invention, by implementing the check optimization in the kernel searc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


