solr-protolib/src/main/java/com/streamsets/pipeline/stage/destination/solr/SolrTarget.java
private List<String> filterAutogeneratedFieldNames(List<String> fieldNames) {
    List<String> result = new ArrayList<>();
    fieldNames.forEach(name -> {
      if (!autogeneratedFieldNamesMap.contains(name)) {
        result.add(name);
      }
    });
    return result;
  }
private List<String> filterAutogeneratedFieldNames(List<String> fieldNames) {
    List<String> result = new ArrayList<>();
    fieldNames.forEach(name -> {
      if (!autogeneratedFieldNamesMap.contains(name)) {
        result.add(name);
      }
    });
    return result;
  }
private List < String > filterAutogeneratedFieldNames ( List < String > fieldNames ) { List < String > result = new ArrayList <> ( ) ; fieldNames . forEach ( name -> { if ( ! autogeneratedFieldNamesMap . contains ( name ) ) { result . add ( name ) ; } } ) ; return result ; }
Filter auto-generated fields from the list passed as argument.

@param fieldNames List of Solr field names.
@return A copy of {@code fieldNames} with all the auto-generated fields removed.
Filter auto - generated fields from the list passed as argument .