Is metrics api enabled by default in solr 8.2

2020-10-13 Thread yaswanth kumar
Can I get some info on where to disable or enable metrics api on solr 8.2 ? I believe its enabled by default on solr 8.2 , where can I check the configurations? and also how can I disable if I want to disable it -- Thanks & Regards, Yaswanth Kumar Konathala. yaswanth...@gmail.com

Need urgent help -- High cpu on solr

2020-10-13 Thread yaswanth kumar
I am using solr 8.2 with zoo 3.4, and configured 5 node solr cloud with around 100 collections each collection having ~20k documents. These nodes are vm's with 6 core cpu and 2 cores per socket. All of sudden seeing hikes on CPU's and which brought down some nodes (GONE state on solr cloud and

Re: Strange fetch streaming expression doesn't fetch fields sometimes?

2020-10-13 Thread uyilmaz
I think I found the reason right after asking (facepalm), but it took me days to realize this. I think fetch performs a naive "in" query, something like: q="userid:(123123 123123123 12432423321323)={batchSize}" When userid to document relation is one-to-many, it is possible that above query

unable to addReplica

2020-10-13 Thread yaswanth kumar
Can someone help me in fixing the below error that I am seeing when trying to use addReplica command curl -k -u username:password " https://x.x.x.x:8080/solr/admin/collections?action=ADDREPLICA=Test=shard1 " Solr version: 8.2 Zookeeper: 3.4 Solr BasicAuthentication was enabled Error seeing

Strange fetch streaming expression doesn't fetch fields sometimes?

2020-10-13 Thread uyilmaz
Hi all, I have a streaming expression looking like: fetch( myAlias, top( n=3, various expressions here sort="count(*) desc" ), fl="username", on="userid=userid", batchSize=3 ) which fails to fetch username field for the 1st result: { "result-set":{ "docs":[{

Need help in trying to understand the error

2020-10-13 Thread yaswanth kumar
I am seeing the below errors frequently on the solr logs, every functionality seems to be working fine but not really sure why there are lots of these errors happening in the backend Using : solr8.2, zoo 3.4 we have enable solr basicauthentication with security.json 2020-10-13 20:37:12.320 ERROR

Re: Memory line in status output

2020-10-13 Thread Walter Underwood
I recommend using the options mentioned in recent messages on this list. Solr has pretty specific memory demands, with lots of allocations with a lifetime of a single request, plus very long-lived allocations that aren’t freed until they are evicted from a cache. wunder Walter Underwood

Re: Memory line in status output

2020-10-13 Thread Ryan W
Thanks. The G1 docs say "G1 is designed to provide good overall performance without the need to specify additional options." Would that look like this... GC_TUNE=" \ -XX:+UseG1GC \ " Is that the most minimal config? Is it typical to use it without options? On Tue, Oct 13, 2020 at 4:22 PM

Re: Memory line in status output

2020-10-13 Thread Walter Underwood
The home page of the Solr admin UI shows all of the options to the JVM. That will include the choice of garbage collector. You can also see the options with “ps -ef | grep solr”. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Oct 13, 2020, at 1:19

Re: Memory line in status output

2020-10-13 Thread Ryan W
I think I have it sorted. At this point I'm using GCG1, I take it, because most recently I started Solr as a service... service solr start And that is running solr by way of /etc/init.d/solr because I don't have any systemd unit for solr, as explained here...

RE: Solr 7.7 - Few Questions

2020-10-13 Thread Hanjan, Harinderdeep S.
1. What tool they use to run Solr as a service on windows. We use NSSM. https://nssm.cc/ -Original Message- From: Manisha Rahatadkar [mailto:manisha.rahatad...@anjusoftware.com] Sent: Tuesday, October 6, 2020 2:26 PM To: solr-user@lucene.apache.org; ch...@opensourceconnections.com; Shawn

Re: [CVE-2020-13957] The checks added to unauthenticated configset uploads in Apache Solr can be circumvented

2020-10-13 Thread Tomás Fernández Löbbe
Thanks Bernd, I missed 6.6.6 because it's not marked as a released version in Jira. 6.6.6 is also affected. On Mon, Oct 12, 2020 at 11:47 PM Bernd Fehling < bernd.fehl...@uni-bielefeld.de> wrote: > Good to know that Version 6.6.6 is not affected, so I am safe ;-) > > Regards > Bernd > > Am

Re: Analytics for Solr logs

2020-10-13 Thread Alexandre Rafalovitch
The tool was introduced in Solr 8.5 and it is in bin/postlogs location. It is quite new. Regards, Alex. On Tue, 13 Oct 2020 at 12:39, Zisis T. wrote: > > I've stumbled upon > https://github.com/apache/lucene-solr/blob/visual-guide/solr/solr-ref-guide/src/logs.adoc > which looks very

Analytics for Solr logs

2020-10-13 Thread Zisis T.
I've stumbled upon https://github.com/apache/lucene-solr/blob/visual-guide/solr/solr-ref-guide/src/logs.adoc which looks very interesting for getting insights into the Solr logs. I cannot find though postlogs command inside the Solr bin dir (there is post command though) nor a way to create the

Re: Memory line in status output

2020-10-13 Thread Ryan W
Or, perhaps if I start solr like so service solr start ...it will use the solr.in.sh at /etc/default/solr.in.sh ? On Tue, Oct 13, 2020 at 11:19 AM Ryan W wrote: > This is how I start solr: > > /opt/solr/bin/solr start > > In my /etc/default/solr.in.sh, I have this... > > GC_TUNE=" \ >

Re: Memory line in status output

2020-10-13 Thread Ryan W
This is how I start solr: /opt/solr/bin/solr start In my /etc/default/solr.in.sh, I have this... GC_TUNE=" \ -XX:+UseG1GC \ -XX:+ParallelRefProcEnabled \ -XX:G1HeapRegionSize=8m \ -XX:MaxGCPauseMillis=200 \ -XX:+UseLargePages \ -XX:+AggressiveOpts \ " But I don't know how to tell if Solr is

Solr 8.6.2 Facets query for Nested documents

2020-10-13 Thread Abhay Kumar
Hello Team, I have sync following nested document in Solr 8.6.2. { "id":"NCT04372953", "title":"Positive End-Expiratory Pressure (PEEP) Levels During Resuscitation of Preterm Infants at Birth (The POLAR Trial) ", "phase":"N/A", "status":"Not yet recruiting",

Solr Document Update issues

2020-10-13 Thread aparana bhatt
Hi , I have been facing lot of issues in using solr update functionality . Multitude of requests respond with * org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://192.169.33.86/solr/cms : Expected mime type

Re: [CVE-2020-13957] The checks added to unauthenticated configset uploads in Apache Solr can be circumvented

2020-10-13 Thread Bernd Fehling
Good to know that Version 6.6.6 is not affected, so I am safe ;-) Regards Bernd Am 12.10.20 um 20:38 schrieb Tomas Fernandez Lobbe: > Severity: High > > Vendor: The Apache Software Foundation > > Versions Affected: > 6.6.0 to 6.6.5 > 7.0.0 to 7.7.3 > 8.0.0 to 8.6.2 > > Description: > Solr