public WeightingMethod getMethod ( String fieldName ) { WeightingMethod method = this . customWeights . get ( fieldName ) ; if ( method != null ) return method ; return this . method_used ; }
Returns the weighting scheme used for a specific field or the default one if nothing has been specified for it