Class RankTypeResolver


  • public class RankTypeResolver
    extends MultiFieldResolver
    Checks if fields have defined different rank types for the same index (typically in an index-to statement), and if they have output a warning and use the first ranktype.
    Author:
    hmusum
    • Constructor Summary

      Constructors 
      Constructor Description
      RankTypeResolver​(java.lang.String indexName, java.util.List<SDField> fields, Search search, com.yahoo.config.application.api.DeployLogger logger)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void resolve()
      Checks the list of fields for specific conflicts, and reports and/or attempts to correct them
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RankTypeResolver

        public RankTypeResolver​(java.lang.String indexName,
                                java.util.List<SDField> fields,
                                Search search,
                                com.yahoo.config.application.api.DeployLogger logger)
    • Method Detail

      • resolve

        public void resolve()
        Description copied from class: MultiFieldResolver
        Checks the list of fields for specific conflicts, and reports and/or attempts to correct them
        Specified by:
        resolve in class MultiFieldResolver