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
4
votes
2 answers

Adding Zookeeper to existing Solr

I have an existing Solr setup, running on a standalone Solr instance. I have been asked to add resilience and high availability to this setup. So I would like to add replication to my setup, for which I believe SolrCloud is the way to go? I have…
4
votes
1 answer

Solrcloud replicas goes in recovery mode right after update

We have a cluster of solr cloud server with 10 shards and 4 replicas in each shard in our stress environment. In our prod environment we will have 10 shards and 15 replicas in each shard. Our current commit settings are as follows …
4
votes
1 answer

Fetching the Zookeeper url and the Solr collection name from within a Solr component code

I'm writing a custom Solr component which is using a CloudSolrServer instance to execute an auxilary query on the distributed index. I'm fetching the Zookeeper url and the collection name from the solrconfig.xml configuration in the usual…
snakile
  • 52,936
  • 62
  • 169
  • 241
4
votes
1 answer

Solr: Migrating an existing or newly-split shard to a new node

We have started working on our current search from master/slave to SolrCloud. I have couple of questions related with expanding the nodes dynamically. Please help. What is best way to migrate an existing shard to new node? is it just a creating a…
4
votes
2 answers

Sorting on text field in solr

I am using solr 3.4 and want to have solr search results to be sorted on text field. How can I achieve sorting on text field as with int natural ordering? Is there any way to convert text field to int during query? My sort field is of string type…
user1556622
4
votes
1 answer

Solrcloud configuration on AWS EC2 machine

I'm facing problem with the setup of SolrCloud on AWS EC2 machine. The scenario is follows, I have three servers for zookeeper and solr. Each server has zookeeper running on it. When I start Solr with zookeeper hosts information, it start and works…
4
votes
2 answers

Solr Master Slave Failover setup for High Availability

While using Solr (we are currently using 3.5), how do we setup the Masters for a Failover? Lets say in my Setup I have Two Masters and Two Slaves. The Application commits all the writes to One Active Master, and both the slaves get the updates…
Ravi
  • 843
  • 2
  • 15
  • 31
3
votes
1 answer

solr: sync data from one solr cloud to another solr cloud

We are using solr 8.9.0 with solr cloud mode with two shards and each shard has one replica(means 2 shards and 2 replicas) of type NRT. We need to insert and update index frequently also require near real time data. We have mainly two usages of…
mcacorner
  • 1,304
  • 3
  • 22
  • 45
3
votes
0 answers

Please explain the syntax in solr query fq = {!frange l=1 u=1}strdist(PR_EMP_ID_s, POSTN_PR_EMP_ROW_ID_s,edit)

In the below syntax: fq = {!frange l=1 u=1}strdist(PR_EMP_ID_s, POSTN_PR_EMP_ROW_ID_s,edit) how to interpret this expression? I know the basic fq working. I have one query where I found this expression, but I am not able to interpret this syntax.
Rahul557
  • 31
  • 2
3
votes
0 answers

More like this query parser not working SOLR 8.9 | Error completing MLT request. Could not fetch document with id [XXXXX]

I am trying to use a simple query in the SOLR cloud with 3 shards in my collection with basic authentication enabled. Everything is working fine in the cloud but when I am using more like this ( MLT ) query parser there is an issue. The id used…
Nishkarsh Dixit
  • 137
  • 1
  • 10
3
votes
0 answers

Are there any presto or trino connectors for Solr / SolrCloud?

I need to run some scheduled ;SQL statements for SolrCloud programmatically in a dashboard joining several collections, the only option I found so far is by using Presto however I could not find any Solr connectors within Presto or Trino, so far I…
Haf
  • 31
  • 2
3
votes
1 answer

How to disable shardsWhitelist, I am getting Following error

So when I add shards in RawQueryParameter of Solr Admin I get following error **error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","org.apache.solr.common.SolrException"], …
3
votes
0 answers

SolrCloud with Zookeeper - cancel_stream_error & TimeoutException: Idle timeout expired: 120000/120000 ms

I have a solrCloud setup in Kubernetes with 2 Solr instances and 3 ZooKeeper instances with 1 shard. It is configured with 8G persistent storage for each Solr and Zookeeper. The Memory allocated for Solr is 16G with 10G Heap size. There are a max of…
3
votes
0 answers

SOLR sort by grouping num found

Hello StackOverflow, Environments: Solr 7.5.0|SolrCloud 7.5.0, Custom search index. According to requirements for search, it should group search response by specific field and sort groups by score and by numFound group value then I saw some links…
Vadim Birkos
  • 135
  • 1
  • 7
3
votes
1 answer

Best practice on number of shards / replicas with Solr Cloud

I'm running SolrCloud with 3 solr and 3 zookeeper instances. For fault tolerance, I now have 3 shards and 3 replicas per solr node. So: numShards [3] maxShardsPernode[3] autoAddReplicas [false] replicationFactor [3] nrtReplicas[3] Is this…
xtrc
  • 89
  • 9