简体   繁体   English

摘要特征中的排名分数

[英]Rank score in summary-features

Looking for a way to always have the executed rank profile score as part of the summary (rather than configure it explicitly for each new rank profile (by adding the function used under summary-features)) Is that possible?寻找一种始终将执行的排名配置文件分数作为摘要的一部分的方法(而不是为每个新排名配置文件显式配置它(通过添加在摘要功能下使用的 function))这可能吗?

You can configure it in one rank profile and inherit it in the others:您可以在一个等级配置文件中配置它并在其他配置文件中继承它:

rank-profile parent {
    summary-features {
        firstPhase
    }
}

rank-profile child1 inherits parent {
    # Will have firstPhase as summary feature
}

rank-profile child2 inherits parent {
    # If the child defines its own features it must inherit the parents explicitly
    summary-features inherits parent {
        ....
    }
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM