Github user srdo commented on a diff in the pull request:

    https://github.com/apache/storm/pull/2108#discussion_r132810900
  
    --- Diff: 
external/storm-solr/src/main/java/org/apache/storm/solr/schema/builder/SolrClientSchemaBuilder.java
 ---
    @@ -0,0 +1,95 @@
    +/*
    + * SolrClientSchemaBuilder.java
    + * Copyright 2017 Qunhe Tech, all rights reserved.
    + * Qunhe PROPRIETARY/CONFIDENTIAL, any form of usage is subject to 
approval.
    + */
    +
    +package org.apache.storm.solr.schema.builder;
    +
    +import org.apache.solr.client.solrj.SolrServerException;
    +import org.apache.solr.client.solrj.request.schema.FieldTypeDefinition;
    +import org.apache.solr.client.solrj.request.schema.SchemaRequest;
    +import org.apache.solr.client.solrj.response.schema.SchemaRepresentation;
    +import org.apache.solr.client.solrj.response.schema.SchemaResponse;
    +import org.apache.storm.solr.client.SolrClientFactory;
    +import org.apache.storm.solr.schema.CopyField;
    +import org.apache.storm.solr.schema.FieldType;
    +import org.apache.storm.solr.schema.Schema;
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    +
    +import java.io.IOException;
    +import java.util.ArrayList;
    +import java.util.List;
    +import java.util.Map;
    +
    +/**
    + * <p>this Class build the {@link Schema} by Solr Schema API.</p>
    --- End diff --
    
    Is there any reason to prefer the REST schema builder over this one? 
Otherwise maybe we should remove the other one?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to