Solr monitoring

2019-04-28 Thread shruti suri
Hi, I want to monitor solr Java heap and health check. What will be the best way or tool to do it in production.. Also I want to check per collection requests and memory utilization. I am using solr6.1. Thanks Shruti - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-U

Metrics reporting

2019-04-28 Thread Kumaresh AK
Hello! I see two ways to get metrics from solr: jmx and metrics API. Is there a preference to use one over the other ? Regards, Kumaresh

Re: genre_str field in Solr's official tutorial on faceting

2019-04-28 Thread Jan Høydahl
genre_str is a pure string copyField created from the original genre field, but it is not returned in results because it has stored=false and it would return exactly the same value as genre. The _str copyFileds are created automatically when using schemaless mode. You can inspect the scema in

Re: Can replicas retry for a longer time?

2019-04-28 Thread Walter Underwood
Hello! Any response on this? wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Apr 11, 2019, at 7:46 PM, Walter Underwood wrote: > > We had a bad situation with our prod cluster. There was a DNS failure in AWS > and all the replicas went “brown”. Onl

Re: COLLECTION CREATE and CLUSTERSTATUS changes in SOLR 7.5.0

2019-04-28 Thread Walter Underwood
Core admin is required for REQUESTRECOVERY. Otherwise, I agree, don’t use it. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Apr 28, 2019, at 4:14 PM, Erick Erickson wrote: > > What Shawn said. Stop using the core admin API. It will not register th

Re: COLLECTION CREATE and CLUSTERSTATUS changes in SOLR 7.5.0

2019-04-28 Thread Erick Erickson
What Shawn said. Stop using the core admin API. It will not register the core with ZooKeeper. legacyCloud=true may put the info in ZooKeeper, but usually puts it in clusterstate.json rather than the proper place, collections>>your_collection>>state.json. There’s no guarantee whatsoever that leg

Re: COLLECTION CREATE and CLUSTERSTATUS changes in SOLR 7.5.0

2019-04-28 Thread Shawn Heisey
On 4/28/2019 6:39 AM, ramyogi wrote: Thanks Eric, After we create a collection and copy the index from one place new place, we are doing UNLOAD core and CREATE core as below, is it wrong and we have alternative to do that ? Do not use CoreAdmin when running SolrCloud. At all. It will cause yo

Re: COLLECTION CREATE and CLUSTERSTATUS changes in SOLR 7.5.0

2019-04-28 Thread ramyogi
Thanks Eric, After we create a collection and copy the index from one place new place, we are doing UNLOAD core and CREATE core as below, is it wrong and we have alternative to do that ? r = requests.get('{}/admin/cores'.format(base_url), params={ 'action': 'UNLOAD', 'core': co