[ 
https://issues.apache.org/jira/browse/CAMEL-6827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062118#comment-14062118
 ] 

ASF GitHub Bot commented on CAMEL-6827:
---------------------------------------

GitHub user softwaredoug opened a pull request:

    https://github.com/apache/camel/pull/219

    CAMEL-6827: Add missing solr-no-core.xml

    Forgot to add file in previous pull req

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/o19s/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/219.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #219
    
----
commit 445cfc69bd475799a9c225417974e47c47758f8b
Author: Doug Turnbull <[email protected]>
Date:   2014-07-15T14:25:48Z

    Add missing solr-no-core.xml

----


> camel-solr support for solrj CloudSolrServer (solrcloud)
> --------------------------------------------------------
>
>                 Key: CAMEL-6827
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6827
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-solr
>            Reporter: Marcos
>            Assignee: Willem Jiang
>              Labels: camel-solr, cloudsolrserver, solrj
>             Fix For: 2.14.0
>
>         Attachments: solr.zip
>
>
> Would be great to be able to send camel messages to a solrcloud which uses 
> zookeeper. To do this we need to be able to create a cloud solr server, which 
> then finds out which server is the lead, then sends the solr queries, etc.
> http://wiki.apache.org/solr/Solrj
> import org.apache.solr.client.solrj.impl.CloudSolrServer;
> import org.apache.solr.common.SolrInputDocument;
> CloudSolrServer server = new CloudSolrServer("localhost:9983");
> server.setDefaultCollection("collection1");
> SolrInputDocument doc = new SolrInputDocument();
> doc.addField( "id", "1234");
> doc.addField( "name", "A lovely summer holiday");
> server.add(doc);
> server.commit();



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to