How to reindex in solr?

2021-11-27 Thread zhta...@163.com
Hi guys: We use solr as a slave data source,and we need to change the shema dynamicly.The ref guide recommands deleting all document first,then re-run the orignal index process,but that does not fit us.Does anyone has other ideas? Thanks

Re: Re: How to reindex in solr?

2021-11-29 Thread zhta...@163.com
ote: > Shawn, would it make sense to migrate that content into > https://solr.apache.org/guide/8_10/reindexing.html ? > > > > > On Nov 27, 2021, at 10:08 PM, Shawn Heisey > wrote: > > > > On 11/27/2021 7:39 PM, zhta...@163.com wrote: > >> Hi guys: > &

Rollback or transation in SolrJ

2021-12-14 Thread zhta...@163.com
Hi, We want to use rollback in SolrJ while autoSoftCommit and autoCommit are open ,and we expect it works like a transaction in databases,but we found all non-committed documents are rolled back after SolrClient#rollback called.Although the rolled back documents can not be searched after rol

parameter length limit of GET query

2021-12-23 Thread zhta...@163.com
Hi, I would like to know the parameter length limit of a GET request,as I found the following exception is throwed if the parameter over some length: Exception in thread "main" org.apache.http.ParseException: Invalid content type: at org.apache.http.entity.ContentType.parse(C

Consult the meaning of maxShardsPerNode

2022-01-16 Thread zhta...@163.com
Hi, The following is a part of my cluster status I configured maxShardsPerNode to 1,but I can still create a collection with 2 shards and 2 replicas each shard on a node(From the web gui). In addition,if I create a collection with 3 shards and 2 replicas each shard,the Solr server repor

Re: Consult the meaning of maxShardsPerNode

2022-01-16 Thread zhta...@163.com
quot;NRT", "leader":"true"}, "core_node8":{ "core":"search2_shard2_replica_n5", "base_url":"http://192.168.52.164:8580/solr";, "node_name":&quo

Re: Re: Consult the meaning of maxShardsPerNode

2022-01-16 Thread zhta...@163.com
":"true"}, "core_node6":{ "core":"search1_shard2_replica_n4", "base_url":"http://192.168.52.164:8580/solr";, "node_name":"192.168.52.164:8580_solr",

Re: Re: Consult the meaning of maxShardsPerNode

2022-01-18 Thread zhta...@163.com
11:28 To: users Subject: Re: Consult the meaning of maxShardsPerNode On 1/16/2022 7:22 PM, zhta...@163.com wrote: > The following is my cluster status. The maxShardsPerNode configuration is 1, > but I created a collection search1. Both replicas of shard1 are assigned to > 192.168.52.164: