code: public static FieldAnalyzer findAnalyzer(TableDefinition tableDef, String fieldName) {
          assert tableDef != null;
          assert fieldName != null;
          
          FieldAnalyzer analyzer = TextAnalyzer.instance();
          FieldDefinition fieldDef = tableDef.getFieldDef(fieldName);
          if (fieldDef != null) {
              Utils.require(fieldDef.isScalarField(), "Must be a scalar field: " + fieldDef);
              analyzer = findAnalyzer(fieldDef.getAnalyzerName());
          }
          return analyzer;
      }
docs: Return the singleton instance of the {@link FieldAnalyzer} for the given scalar
  field belonging to the given table. If the scalar is not defined in the table, the
  field is assumed to be text and the {@link TextAnalyzer} instance is returned.
  Otherwise, the field definition's analyzer name is passed to {@link #findAnalyzer(String)}
  whose result is returned. This method works with scalar fields that are not defined
  in the table.
  
  @param tableDef  Table that owns the scalar field.
  @param fieldName Name of the scalar field.
  @return          Singleton instance object of the analyzer that should be used to
  index the given scalar field.