Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3922116ED for ; Mon, 14 Jul 2014 21:32:06 +0000 (UTC) Received: (qmail 14080 invoked by uid 500); 14 Jul 2014 21:32:06 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 14043 invoked by uid 500); 14 Jul 2014 21:32:06 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 14030 invoked by uid 99); 14 Jul 2014 21:32:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2014 21:32:06 +0000 Date: Mon, 14 Jul 2014 21:32:06 +0000 (UTC) From: "Doug Turnbull (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-6827) camel-solr support for solrj CloudSolrServer (solrcloud) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061283#comment-14061283 ] Doug Turnbull commented on CAMEL-6827: -------------------------------------- Scott and I flubbed. We miscommunicated which changes were in our github repo, so I need to withdraw this patch. I'll have a new one up shortly. > 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 > Labels: camel-solr, cloudsolrserver, solrj > Fix For: 2.14.0 > > Attachments: CAMEL-6827.patch, 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)