@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof SolrIndexDoc)) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }
        final SolrIndexDoc solrIndexDoc = (SolrIndexDoc) o;
        return Objects.equals(description, solrIndexDoc.description) &&
               Objects.equals(collection, solrIndexDoc.collection) &&
               Objects.equals(solrConnectionConfig, solrIndexDoc.solrConnectionConfig) &&
               Objects.equals(fields, solrIndexDoc.fields) &&
               Objects.equals(timeField, solrIndexDoc.timeField) &&
               Objects.equals(defaultExtractionPipeline, solrIndexDoc.defaultExtractionPipeline);
    }
@return A new builder for creating a {@link DocRef} for this document's type.
stroom-core-shared/src/main/java/stroom/search/solr/shared/SolrIndexDoc.java