Re: Solr create collections on different servers

2022-11-29 Thread Jan Høydahl
Rule based replica placement was deprecated long ago, see https://solr.apache.org/guide/8_11/rule-based-replica-placement.html so I would not bother too much with making it work. You may have some luck with small clusters but it does not scale for larger ones. The new way is placement plugins fr

SOLR start issue

2022-11-29 Thread PUVVADI, NANDA KISHORE
Information Classification: ** General HI All, I am using solr 8.11.1 solr server. After I restarted solr server seems like server not up and throwing below error . I could not find the proper solution in forums. Kindly help me. HTTP ERROR 404 javax.servlet.UnavailableException: Error processin

Re: 8.11.2 Performance degradation

2022-11-29 Thread Richard Goodman
We haven't tested anything on 9, nor do we plan on going to 9 any time soon, as it's quite a bit of work as not only do we have our own patches of Solr *(providing custom analysers etc.,)*, but we also have a moderate extensive plugin of custom parsers etc., for our own business needs, so we'd also

Re: 8.11.2 Performance degradation

2022-11-29 Thread Charlie Hull
Hey Richard, Attachments are stripped by this list so you might want to upload them somewhere and link to them. Cheers Charlie On 25/11/2022 17:33, Richard Goodman wrote: Hi there, We have a cluster spread over 72 instances on k8s hosting around 12.5 billion documents (made up of 30 collec

CVE-2022-40153 com.fasterxml.woodstox_woodstox-core

2022-11-29 Thread Billy Kidwell
https://nvd.nist.gov/vuln/detail/CVE-2022-40153 Our container scan found a potential security vulnerability in Solr 9.0.0 and 9.1.0 for woodstox-core. I checked the security page, the official list of non-exploitable vulnerabilities and the user mailing list. I also checked jira. There are a

RE: [External] : Re: Update all rows with a value for one specific field in one core

2022-11-29 Thread Shushuai Zhu
Mikhail/Thomas, thanks a lot for your quick answers. Shushuai -Original Message- From: Thomas Corthals Sent: Tuesday, November 29, 2022 2:29 AM To: users@solr.apache.org Subject: [External] : Re: Update all rows with a value for one specific field in one core Hi Shushuai, Like Mikh

Querying Solr Locally through Java API without using HttpClient

2022-11-29 Thread Nagarajan Muthupandian
Hi, I am working on a POC to develop a plugin, which would query all the documents and update value of few fields of the document. Wanted to check if there is any Java API available to query solr locally (Including Pagination) without using the Httpclient. Thanks Rajan

Re: Querying Solr Locally through Java API without using HttpClient

2022-11-29 Thread Eric Pugh
You could look at the EmbeddedSolrServer class…. > On Nov 29, 2022, at 10:59 AM, Nagarajan Muthupandian > wrote: > > Hi, > > I am working on a POC to develop a plugin, which would query all the > documents and update value of few fields of the document. > > Wanted to check if there is any

Re: SOLR start issue

2022-11-29 Thread Shawn Heisey
On 11/29/22 02:21, PUVVADI, NANDA KISHORE wrote: I am using solr 8.11.1 solr server. After I restarted solr server seems like server not up and throwing below error . I could not find the proper solution in forums. Kindly help me. HTTP ERROR 404 javax.servlet.UnavailableException: Error proces

Very High CPU when indexing

2022-11-29 Thread Matias Laino
Hi all, I have a Cluster of 2 Solr 8.11 nodes running in cloud mode and 1 zookeeper node, this is used for our testing environment, the servers are in Amazon Ec2 and are t3.xlarge (4 cores and 16gb of ram), heap has been set to 8g. Everything has been working very well since I installed these,

Re: Querying Solr Locally through Java API without using HttpClient

2022-11-29 Thread Shawn Heisey
On 11/29/22 08:59, Nagarajan Muthupandian wrote: Wanted to check if there is any Java API available to query solr locally (Including Pagination) without using the Httpclient. The Java API (known as SolrJ) uses either Apache httpclient or Jetty httpclient, depending on which client object you

Re: Very High CPU when indexing

2022-11-29 Thread Shawn Heisey
On 11/29/22 13:35, Matias Laino wrote: it takes about 10 minutes for those records to be available on search, our commit strategy has been hard commit every 60 seconds and soft commit every 1 second. Don't do that.  Chances are that the commits will take longer than 1 second to complete, so i

RE: Very High CPU when indexing

2022-11-29 Thread Matias Laino
Thank you Shawn, I'm definitely checking out those recommendations, but what I cannot explain is how this worked fine for the last 3 months and then suddenly this issue started happening. On our application, customers expect that when a record is created, that record should be available on sea

Re: Very High CPU when indexing

2022-11-29 Thread Shawn Heisey
On 11/29/22 13:58, Matias Laino wrote: Thank you Shawn, I'm definitely checking out those recommendations, but what I cannot explain is how this worked fine for the last 3 months and then suddenly this issue started happening. I'd say you got REALLY lucky that there weren't problems sooner. H

Re: [External] : Re: Querying Solr Locally through Java API without using HttpClient

2022-11-29 Thread Nagarajan Muthupandian
Thanks Shawn and Eric, POC would be to add a function in the plugin.. which would query all the documents locally (Say 100+ Million Documents) and update 1 or 2 fields with a particular value. As the plugin would be local to this core.. wanted to avoid HTTP calls. Say if I am in a solr contain