Questions tagged [solrcloud]

Apache Solr includes the ability to set up a cluster of Solr servers that combines fault tolerance and high availability. Called SolrCloud, these capabilities provide distributed indexing and search capabilities.

Apache Solr includes the ability to set up a cluster of Solr servers that combines fault tolerance and high availability. Called SolrCloud, these capabilities provide distributed indexing and search capabilities, supporting the following features:

  • Central configuration for the entire cluster

  • Automatic load balancing and fail-over for queries

  • ZooKeeper integration for cluster coordination and configuration.

1255 questions
3
votes
0 answers

Jetty/Solr IP whitelisting and authentication

I am using Solr 4.8.X and need help getting around https://issues.apache.org/jira/browse/SOLR-4470 (Basic HTTP auth for SolrCloud nodes) Is there a way to white-list certain ip addresses in Jetty 8/Solr so that they do not require basic http…
user1432882
  • 1,126
  • 4
  • 14
  • 29
3
votes
4 answers

Solr - Collections API timeouts

I've got a setup with 3x zoo keeper's and 4x solrcloud node's. This is all working, all nodes are seeing each other and I initially had a default collection. From there, I used the collections API to create a new collection which successfully…
johnnyboy
  • 869
  • 12
  • 23
3
votes
1 answer

Solr 4.6.1 Streaming Solr Servers Error

After moving from Solr 4.4 to Solr 4.6.1, I am getting the below Exception while updating my Indexes using the Data Import Handler. Does anybody have any ideas on why this is happening? ERROR - 2014-02-18 09:39:35.232;…
Ravi
  • 843
  • 2
  • 15
  • 31
3
votes
1 answer

How to execute solr zookeeper CLI to upload solr configuration

My scala app needs to interact with solr cloud via zookeeper.I need to upload the solr configuration files(conf folder) to the zookeeper. It is done using the following shell command : cloud-scripts/zkcli.sh -cmd upconfig -zkhost zkHostAddress:2181…
Harsh Gupta
  • 339
  • 4
  • 20
3
votes
1 answer

SolrCloud loading Synonym file from resouce

I am trying to setup a test SolrCloud 4.5.1 implementation. My synonym file is about 1.6 MB. When I try to add collection to ZooKeeper 3.4.5 on Ubuntu 12.4, it fails because of the 1MB limit of ZooKeeper. Has anyone any experience with using such…
Puneet
  • 472
  • 3
  • 14
3
votes
2 answers

Is there any way to remove dead replicas in solrcloud?

I am using solr 4.5. After several tests I have noticed a lot of dead (non existing) replicas are shown in my SolrCloud graph as gone (black). Is there any way to force my solr to forget about this gone replicas? I think that manually modifying…
running.t
  • 5,329
  • 3
  • 32
  • 50
3
votes
1 answer

No /solr/home in JNDI althought it's set in Catalina/localhost/solr.xml

I have solr-4.5.0 configured to work with tomcat7 and zookeeper 3.3.5 (from debian package) According to many tutorials I have created following Catalina/localhost/solr.xml file
running.t
  • 5,329
  • 3
  • 32
  • 50
3
votes
2 answers

Solr Query - Calculating average position of a term

Given a query and a term, how could I calculate the average position of the term within every document in the query and return it? I am looking for the fastest (performance wise) solution and willing to extend the solr functionality. Following that,…
Saar
  • 1,753
  • 6
  • 20
  • 32
3
votes
1 answer

SolrCloud node goes down after collection RELOAD

I use Solr 4.4, Zookeeper 3.4.5 and Tomcat 7. CLUSTER SETUP: 3 shards and 3 replica. Totally 6 Solr instances. Cluster is up and running. Everything seems to be OK. Nothing critical in logs, except few warnings about deprecared classes. HOW I DO…
3
votes
2 answers

Indexing speed performances with and without Solrcloud

I've done 2 performances tests to measures the indexing speed with a collection of 235280 documents: 1st test : 1 solr instance without SolrCloud: indexing speed = 6191 doc/s 2nd test : 4 solr instance (4 shards) linked with SolrCloud : indexing…
Corentin
  • 325
  • 5
  • 21
3
votes
3 answers

Solrcloud delete collection bug?

First,I create a collection called usercollection: http://xxxxx/solr/admin/collections?action=CREATE&name=usercollection&numShards=3&replicationFactor=3&maxShardsPerNode=3 Then I found something wrong, so I delete it. …
Irwin Ai
  • 59
  • 2
  • 5
3
votes
1 answer

solrcloud replica waiting time configuration

I have setup solrcloud cluster with 2 shard 2 replica configuration. But when I start my shard nodes and only one replica node for each shard, the shard leader nodes continuously prints a message: waiting until we see more replicas up,total 3 found…
user1556622
3
votes
2 answers

Need solr cloud inputs

I need some inputs for Solr Cloud integration with java. I read wiki.apache.org/solr/SolrCloud page. I got a basic knowledge. But what I need is to implement a very basic java application with solr cloud with shards and zookeeper and distributed…
ak87
  • 161
  • 2
  • 9
3
votes
1 answer

How does Solrcloud handle host failures?

I am learning how to use Solrcloud's new features, and I can successfully set up an ensemble of Zookeepers, and a set of Solr instances for a sharded index. I wanted to investigate how failures affected my setup. Mostly, it worked as expected except…
2
votes
0 answers

Solr sort on multivalue field produces Bytesref error in multi-shard env

Solr 8.11 (in SolrCloud mode) returns a 500 error when querying with sort parameter sort=field("RECORD_DATE") asc. The error message is: class java.lang.String cannot be cast to class org.apache.lucene.util.BytesRef (java.lang.String is in module…
Juuso Ohtonen
  • 8,826
  • 9
  • 65
  • 98