Class DefaultRankProfile

  • All Implemented Interfaces:
    Cloneable

    public class DefaultRankProfile
    extends RankProfile
    The rank profile containing default settings. This is derived from the fields whenever this is accessed.
    Author:
    bratseth
    • Method Detail

      • inherit

        public void inherit​(String inheritedName)
        Ignore self inheriting of default as some applications may use that for historical reasons.
        Overrides:
        inherit in class RankProfile
      • getRankSetting

        public RankProfile.RankSetting getRankSetting​(String fieldOrIndex,
                                                      RankProfile.RankSetting.Type type)
        Description copied from class: RankProfile
        Returns a rank setting of field or index, or null if there is no such rank setting in this profile or one it inherits
        Overrides:
        getRankSetting in class RankProfile
        Parameters:
        fieldOrIndex - the field whose settings to return
        type - the type that the field is required to be
        Returns:
        the rank setting found, or null