[
https://issues.apache.org/jira/browse/CAMEL-6827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061329#comment-14061329
]
Doug Turnbull edited comment on CAMEL-6827 at 7/14/14 10:42 PM:
----------------------------------------------------------------
Changes can be found in this pull request
https://github.com/apache/camel/pull/218
Text from Pull Request
==============================================
New SolrCloud producer. Can be used with
solrCloud://localhost:8983?zkHost=localhost:8123/solr&collection=collection1
Solr producer can also be used with HTTPS via solrs:
solrs://localhost:8983
Most of the changes in this patch have to do with test updates to support these
changes. The test updates run all the existing camel-solr tests against all
three possible Solr endpoints: normal HTTP Solr server, an HTTPS Solr Server,
and an embedded Solr Cloud cluster. The latter utilizes Solr 4.8's
MiniSolrCloudCluster support to create an embedded Solr Cloud cluster for
testing.
Additional updates have to do with reorganizing and updating the solr
configurations to support Solr 4 and updates required for Solr Cloud support.
Let me know if you have any questions!
was (Author: softwaredoug):
Changes can be found in this pull request
https://github.com/apache/camel/pull/218:
Text from Pull Request
==============================================
New SolrCloud producer. Can be used with
solrCloud://localhost:8983?zkHost=localhost:8123/solr&collection=collection1
Solr producer can also be used with HTTPS via solrs:
solrs://localhost:8983
Most of the changes in this patch have to do with test updates to support these
changes. The test updates run all the existing camel-solr tests against all
three possible Solr endpoints: normal HTTP Solr server, an HTTPS Solr Server,
and an embedded Solr Cloud cluster. The latter utilizes Solr 4.8's
MiniSolrCloudCluster support to create an embedded Solr Cloud cluster for
testing.
Additional updates have to do with reorganizing and updating the solr
configurations to support Solr 4 and updates required for Solr Cloud support.
Let me know if you have any questions!
> 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: 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)