camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcos (JIRA)" <>
Subject [jira] [Created] (CAMEL-6827) camel-solr support for solrj CloudSolrServer (solrcloud)
Date Fri, 04 Oct 2013 14:27:45 GMT
Marcos created CAMEL-6827:

             Summary: camel-solr support for solrj CloudSolrServer (solrcloud)
                 Key: CAMEL-6827
             Project: Camel
          Issue Type: New Feature
          Components: camel-solr
            Reporter: Marcos
            Priority: Minor

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.

import org.apache.solr.client.solrj.impl.CloudSolrServer;
import org.apache.solr.common.SolrInputDocument;

CloudSolrServer server = new CloudSolrServer("localhost:9983");
SolrInputDocument doc = new SolrInputDocument();
doc.addField( "id", "1234");
doc.addField( "name", "A lovely summer holiday");

This message was sent by Atlassian JIRA

View raw message