RE: Solr 8.5.2: DataImportHandler failed to instantiate org.apache.solr.request.SolrRequestHandler

2020-06-26 Thread Peter van de Kerk
Ok, thanks. I deduped the jarfiles and now only have the solr-dataimporthandler-8.5.2.jar in server\lib folder. The errors are now gone on the admin page. But it also states "No cores available", and when I try to create a new core `mytest` (whose files are already on my disk) I get the error:

Re: Developing update processor/Query Parser

2020-06-26 Thread Vincenzo D'Amore
Sharing a static object between URP and QParser it's easy. But when the core is reloaded, this shared static object is rewritten from scratch. An old QParser that references that object could have serious problems, inconsistencies, concurrent modification exceptions, etc. On the other hand, trying

Re: Developing update processor/Query Parser

2020-06-26 Thread Vincenzo D'Amore
Hi Gus, thanks for the thorough explanation. Infact, I was concerned about how to hold the shared information (between URP and QParser), for example when a core is reloaded. What happens when a core is reloaded? Very likely I have a couple of new URP/QParser but an older QParser may still be

Re: Solr heap Old generation grows and it is not recovered by G1GC

2020-06-26 Thread Odysci
Thanks. The heapdump indicated that most of the space was occupied by the caches (filter and documentCache in my case). I followed your suggestion of removing the limit on maxRAMMB on filterCache and documentCache and decreasing the number of entries allowed. It did have a significant impact on

Re: Developing update processor/Query Parser

2020-06-26 Thread Gus Heck
During the request, the parser plugin is retrieved from a PluginBag on the SolrCore object, so it should be reloaded at the same time as the update component (which comes from another PluginBag on SolrCore). If the components are deployed with consistent configuration in solrconfig.xml, any given

Re: Solr 8.5.2: DataImportHandler failed to instantiate org.apache.solr.request.SolrRequestHandler

2020-06-26 Thread Shawn Heisey
On 6/24/2020 1:59 PM, Peter van de Kerk wrote: So I copied files from C:\solr-8.5.2\dist to C:\solr-8.5.2\server\lib But then I get error org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error Instantiating requestHandler,

SolrCloud with custom package in dataimport

2020-06-26 Thread stefan
Hey, Is it possible to reference a custom java class during the dataimport? The dataimport looks something like this: ``` db-data-config.xml ``` Sadly I was unable to find any information on this topic. Thanks for your help!

Re: Prevent Re-indexing if Doc Fields are Same

2020-06-26 Thread Walter Underwood
If you don’t want to buy disk space for deleted docs, you should not be using Solr. That is an essential part of a reliable Solr installation. To avoid reindexing unchanged documents, use a bookkeeping RDBMS table. In that table, put the document ID and the most recent successful update to Solr.

Re: Solr Upgrade Issue

2020-06-26 Thread Jan Høydahl
Hi, There is no enough information in your email for any of us to help you. Sounds like your company has created some custom integrations and perhaps servlet filters. We do not know anything about your custom «createcore» functionality, so we cannot know why it does not work. I’d recommend you

Re: Solr basic authentication and authorization Document

2020-06-26 Thread Jan Høydahl
Hi, There is little context in your question. We don’t know how you deploy Solr (via solr-operator or manually), we don’t know if you deploy in Zookeeper or standalone mode, we don’t know if you tried enabling basic auth already using the

Solr Upgrade Issue

2020-06-26 Thread Ashok Mahendran
Hi Team, We are upgrading from Solr 7.5.0 version to 8.5.2 version. We are doing custom /createcore functionality from our web application. In 7.5.0 version we mentioned the that Filter in web.xml for create core and it is working fine. For 8.5.2 that customized create core filter not

Solr basic authentication and authorization Document

2020-06-26 Thread Roshan Naik
Hello Team , We are deploying the solr cluster on GCP kubernetes . We are not getting a clear idea in the documents for how we can implement the solr basic authentication and authorization in kubernetes cluster. Could you please provide the documents for the same? -- Thanks & Regards,

RE: Unexpected results using Block Join Parent Query Parser

2020-06-26 Thread Tor-Magne Stien Hagen
Alright, that solved the problem. Thank you very much! Tor-Magne Stien Hagen -Original Message- From: Mikhail Khludnev Sent: Thursday, June 25, 2020 12:13 PM To: solr-user Subject: Re: Unexpected results using Block Join Parent Query Parser Ok. My fault. Old sport, you know. When

Prevent Re-indexing if Doc Fields are Same

2020-06-26 Thread Anshuman Singh
I was reading about in-place updates https://lucene.apache.org/solr/guide/7_4/updating-parts-of-documents.html, In my use case I have to update the field "LASTUPDATETIME", all other fields are same. Updates are very frequent and I can't bear the cost of deleted docs. If I provide all the fields,

Re: Solr heap Old generation grows and it is not recovered by G1GC

2020-06-26 Thread Zisis T.
I have faced similar issues and the culprit was filterCache when using maxRAMMB. More specifically on a sharded Solr cluster with lots of faceting during search (which makes use of the filterCache in a distributed setting) I noticed that maxRAMMB value was not respected. I had a value of 300MB set

Parallel SQL join on multivalue fields

2020-06-26 Thread Piero Scrima
Hi, Although there is no trace of join functionality in the official Solr documentation (https://lucene.apache.org/solr/guide/7_4/parallel-sql-interface.html), joining in parallel sql works in practice. It only works if the field is not a multivalued field. For my project it would be fantastic if

Re: SOLR CDCR fails with JWT authorization configuration

2020-06-26 Thread Jan Høydahl
I found this in the documentation https://lucene.apache.org/solr/guide/8_5/cdcr-architecture.html#cdcr-limitations : CDCR doesn’t support Basic Authentication features across clusters. The JIRA for

Nested grouping

2020-06-26 Thread Srinivas Kashyap
Hi All, I have below requirement for my business: select?fl=*=MODIFY_TS:[2020-06-23T18:30:00Z TO *]=PHY_KEY2: "HQ010699" OR PHY_KEY2: "HQ010377" OR PHY_KEY2: "HQ010396" OR PHY_KEY2: "HQ010399" OR PHY_KEY2: "HQ010404" OR PHY_KEY2: "HQ010419" OR PHY_KEY2: "HQ010426" OR PHY_KEY2: "HQ010452" OR