这里的业务逻辑是由用户自定义的函数子实现,并且这些函数子只能用在逻辑记录处理的工作上,而不用关心多个处理操作的问题。
The business logic is implemented in user-definable functors that only work on logical record processing and aren't concerned with multiprocessing issues.
第2部分把scoresortresults子例程注入到主程序逻辑中来给每条匹配的记录评分、给结果列表排序并将其传递给显示步骤。
Part 2 injects the scoreSortResults subroutine into the main program logic to score each matched record, sort the resulting list, and pass it on to the display step.
应用推荐