code: public static String termIndexRowKey(TableDefinition tableDef, DBObject dbObj, String fieldName, String term) {
          StringBuilder termRecKey = new StringBuilder();
          int shardNumber = tableDef.getShardNumber(dbObj);
          if (shardNumber > 0) {
              termRecKey.append(shardNumber);
              termRecKey.append("/");
          }
          termRecKey.append(FieldAnalyzer.makeTermKey(fieldName, term));
          return termRecKey.toString();
      }
docs: Create the Terms row key for the given table, object, field name, and term.
  
  @param tableDef  {@link TableDefinition} of table that owns object.
  @param dbObj     DBObject that owns field.
  @param fieldName Field name.
  @param term      Term to be indexed.
  @return