On 5/8/2021 8:05 PM, lamine lamine wrote:
I only want the code be run once per shard. One way to guarantee that is to do it in
the leader, as there is always one leader per shard. I don't want to run it in all the
replicas. The code to run is "external" it doesn't touch any document.
What I
If the true requirement is merely to process the document once, then I
agree with Shawn's solution. You needn't concern yourself with knowing who
the leader is. If somehow it's important that it be guaranteed to execute
on the leader in particular, then take inspiration from some existing
URPs.
Hi,
childFilter is guaranteed to return the documents in the order it was
provided to Solr.
If you want to sort or do other interesting things, consider [subQuery]
~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley
On Thu, Apr 29, 2021 at 3:55 PM Roopa Ra
I was not able to reproduce the problem. I did this with the
"techproducts" example (thus standalone mode), and ran that curl command,
and got this error:
"responseHeader":{
"status":403,
"QTime":10044},
"error":{
"metadata":[
"error-class","org.apache.solr.common.SolrExcepti
Hi everyone,
We have 3 cluster solr running in 3 different machines with an index size
of 300 GB.
RAM: 300 GB per node
Heap - Xms: 240GB Xmx: 300GB
Index size: 300GB
GC_TUNE="-XX:+UseG1GC
-XX:InitiatingHeapOccupancyPercent=45
-XX:ConcGCThreads=6
-XX:ParallelGCThreads=30
-XX:G1ReservePercent=20