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

    https://github.com/apache/storm/pull/665#discussion_r37882952
  
    --- Diff: 
external/storm-solr/src/main/java/org/apache/storm/solr/mapper/SolrJsonMapper.java
 ---
    @@ -0,0 +1,97 @@
    +package org.apache.storm.solr.mapper;
    +
    +import backtype.storm.tuple.ITuple;
    +import com.google.gson.Gson;
    +import org.apache.solr.client.solrj.SolrClient;
    +import org.apache.solr.client.solrj.SolrRequest;
    +import org.apache.solr.client.solrj.impl.CloudSolrClient;
    +import org.apache.solr.client.solrj.request.ContentStreamUpdateRequest;
    +import org.apache.solr.common.util.ContentStream;
    +import org.apache.solr.common.util.ContentStreamBase;
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    +
    +import java.util.List;
    +
    +/**
    + * Created by hlouro on 7/24/15.
    + */
    +public class SolrJsonMapper implements SolrMapper {
    +    private static final Logger logger = 
LoggerFactory.getLogger(SolrJsonMapper.class);
    +    private static final String JSON_UPDATE_URL = "/update/json/docs";
    --- End diff --
    
    Done


---
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