How to use a pseudo field in a facet?

2023-03-31 Thread Chatree Srichart
Hello, Is it possible to use a pseudo field in a facet? Now I am getting an undefined field error with this JSON request: { "limit": 0, "facet": { "cellMeasures": { "facet": { "test1": "unique(calculatedMeasure11)" }, "query": "*:*", "type": "query" } }, "query": { "bool": { "must": ["(id:SalesI

Re: Is there a tutorial for Solr 9.2 and Kubernetes

2023-03-31 Thread Jan Høydahl
Hi, Solr Operator supports v9.x. But currently you'd have to scale the PODs yourself and to add replicas yourself. There is a recent proposal to make this situation better: https://cwiki.apache.org/confluence/display/SOLR/SIP-17%3A+Node+Autoscaling+via+Kubernetes Jan > 30. mar. 2023 kl. 17:10

Re: Question on upgrading Solr from 8.11.1 to 9.2

2023-03-31 Thread Jan Høydahl
Hi, Any co-existing if 8.x and 9.x nodes in the same cluster will require the multi-step approach. You set the solr.pki.sendVersion as system property, e.g. by adding it to SOLR_OPTS variable in solr.in.sh, or through other means your environment has to pass variables to solr. I.e. Should be

Re: Authentication problems

2023-03-31 Thread MEXANIK
Sorry, test1Collection* чт, 30 мар. 2023 г., 17:14 MEXANIK : > When you send a read request for the test2Collection collection, the logs > do not display as a collection, and I get 10 entries with admin_x rights > > > attached log with description > > > > ср, 29 мар. 2023 г., 16:39 Jan Høydahl :

Upgrading log4j

2023-03-31 Thread Aravind Reddy Jangam
Hi We are running solr verions 6 & log4j version 1.x Is it possible to upgrade log4j to version 2.x with out upgrading solr 6 Thanks Confidentiality note: This e-mail may contain confidential information from Clarivate. If you are not the intended recipient, be aware that any disclosure, copy

Re: Upgrading log4j

2023-03-31 Thread Jan Høydahl
Hi, Why do you believe you need to upgrade log4j in solr 6? It was not affected by the log4shell issue. See our article at https://solr.apache.org/security.html#apache-solr-affected-by-apache-log4j-cve-2021-44228 where we state that Solr 7.4.0 is the earliest Solr version vulnerable to log4she

Solr 8/9 and JMX

2023-03-31 Thread mtn search
Hello, We are transitioning from Solr 6 to Solr8/9. In the past we have enabled JMX in production to access MBean solr and jvm metrics. It appears a good bit has changed in terms of Solr metrics configuration as I read the docs. However, it looks like enabling JMX is still an option - https://so

Re: Solr 8/9 and JMX

2023-03-31 Thread matthew sporleder
In my experience solr jmx is weirdly unstable (mbeans disappear) and it's better to query the api (CLUSTERSTATUS and friends). I wrote this ages ago for putting solr stats in datadog: https://github.com/msporleder-work/dd-solrcloud On Fri, Mar 31, 2023 at 12:47 PM mtn search wrote: > > Hello, >

RE: Upgrading log4j

2023-03-31 Thread Aravind Reddy Jangam
Thanks, even though log4j in solr is not affected by log4shell issue, I wanted to check if its possible to upgrade log4j with out upgrading solr As log4j version is end of life and apache recommends to upgrade to log4j version 2 https://news.apache.org/foundation/entry/apache_logging_services_pr

Re: Question on upgrading Solr from 8.11.1 to 9.2

2023-03-31 Thread Shamik Bandopadhyay
Hi Jan, Thanks for clarifying the process. I have a couple of follow-up questions on the REPLACENODE API (since I've never used this before). 1. Do I need to run REPLACENODE on each existing node ( 4 in my scenario) to a corresponding new node (running on 9.2)? 2. The documentation says "*The A

Re: Upgrading log4j

2023-03-31 Thread Jan Høydahl
I'm not aware that it is possible, but you could easily swap it out with any log lib supported by slf4j v1.7.7. But the only advice you'll get from us here is to upgrade Solr. It may not be as difficult as you fear. You need ot migrate some field types in schema and re-index, but both update and

Re: Question on upgrading Solr from 8.11.1 to 9.2

2023-03-31 Thread Jan Høydahl
1. You run it once per node. 2. If you don't use autoscaling, then it will use "targetNode" or choose a node with fewest cores Good luck Jan > 31. mar. 2023 kl. 20:02 skrev Shamik Bandopadhyay : > > Hi Jan, > > Thanks for clarifying the process. I have a couple of follow-up questions > on th

RE: Upgrading log4j

2023-03-31 Thread Aravind Reddy Jangam
Sounds good, Thanks for your inputs -Original Message- From: Jan Høydahl Sent: Friday, March 31, 2023 2:33 PM To: users@solr.apache.org Subject: Re: Upgrading log4j I'm not aware that it is possible, but you could easily swap it out with any log lib supported by slf4j v1.7.7. But the on

Re: Solr 8/9 and JMX

2023-03-31 Thread Otis Gospodnetić
Hm, interesting. I'll check with my colleagues, but I haven't heard of issues with Solr JMX. This works well: https://sematext.com/docs/integration/solr/ The agent itself is OSS: https://github.com/sematext/sematext-agent-java Configured with YML: https://github.com/sematext/sematext-agent-integr