public float docScore(int docId, String field, int numPayloadsSeen, float payloadScore) {return numPayloadsSeen > 0 ? payloadScore : 1;}

public float docScore ( int docId , String field , int numPayloadsSeen , float payloadScore ) { return numPayloadsSeen > 0 ? payloadScore : 1 ; }
public override float DocScore(int docId, string field, int numPayloadsSeen, float payloadScore){return numPayloadsSeen > 0 ? payloadScore : 1;}
