Re: Solr create collections on different servers

2022-11-27 Thread Shawn Heisey
On 11/26/22 20:07, Aravind Reddy Jangam wrote: I started solr in cloud mode & ran below command to create collection ./solr create_collection -c doc1 -s 4 -rf 2 -force I noticed all cores are created in same server can you please share process to create cores on different server, I would like e

Re: Solr create collections on different servers

2022-11-27 Thread Shawn Heisey
On 11/27/22 08:38, Shawn Heisey wrote: curl http://localhost:8983/solr/admin/zookeeper?detail=true&path=%2Flive_nodes That command will not work as-is.  I forgot the quotes. curl "http://localhost:8983/solr/admin/zookeeper?detail=true&path=%2Flive_nodes";

different result from two identical servers

2022-11-27 Thread dmitri maziuk
Two windows VMs as similar as I can get, same JDK, same Solr 8.11.2, same config and schema, same data import scripts. After deleting all documents and full import: node 1: Num Docs: 3275676 Max Doc: 3374010 Deleted Docs: 98334 node 2: Num Docs: 3112069 Max Doc: 3287989 Deleted Docs: 175920 No

RE: Solr create collections on different servers

2022-11-27 Thread Aravind Reddy Jangam
Thanks Shawn, Earlier I only started solr in cloud mode on server I ran below command to create collection, after starting solr on cloud mode on eight servers Now core are created on eight shards, i.e each shard is on different server ./solr create_collection -c doc1 -s 4 -rf 2 One question, curr

Solr cloud rename core

2022-11-27 Thread Aravind Reddy Jangam
Hi I created collection using below command, core name on each server is different like doc1_shard1_replica_n15 & doc1_shard2_replica_n4 Is it possible to rename core name, I would like to have same core on all servers like doc1 ./bin/solr create_collection -c doc1 -s 4 -rf 2 -force Thanks Ara

Re: How use sort parent documents by a child document's field with specific _nest_path?

2022-11-27 Thread Chatree Srichart
Hello Mikhail, For the example nested documents: Example Indexing Syntax: Pseudo-Fields https://solr.apache.org/guide/8_11/indexing-nested-documents.html#example-indexing-syntax This sort works for me to sort products by their sku's price: childfield(price_i,{!parent which='id:*prod' v='_nest_p