A custom relevance ranking algorithm based on lucene that supports expressions
A sorting algorithm and expression technology, applied in the computer field, can solve the problems of lack of diversity in function types, lack of flexibility in inter-field operations and custom sorting, etc., and achieve the effect of flexible custom correlation sorting algorithm
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] The specific implementation method of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0033] A self-defined correlation ranking algorithm based on Lucene supporting expressions in the present invention includes four parts: analyzing expressions, calculating expressions, sorting correlations and integrating results; correspondingly adopting four modules: expression parsing module, expression Calculation module, correlation ranking module and result integration module;
[0034] like figure 1 As shown, first, after the user enters a custom expression, the expression parsing module checks the validity of the expression entered by the user and converts it into a form that the system can calculate;
[0035] Specifically: the expression entered by the user is parsed by the management node, and after the parsing is completed, the management node sends the expression and the parameters (field names) in the expression to e...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


