Re: Uninstall Solr 9.1

2023-01-13 Thread Shawn Heisey
On 1/13/23 01:05, Anuj Bhargava wrote: > On Centos > > wget https://dlcdn.apache.org/solr/solr/9.1.0/solr-9.1.0.tgz I accidentally replied directly to the sender to ask how they installed Solr, above is the direct reply I got. The wget command does not install Solr. It only downloads it. You

Re: Uninstall Solr 9.1

2023-01-13 Thread Anuj Bhargava
Installed java - sudo dnf install java-11-openjdk *$java -versionopenjdk version "11.0.17" 2022-10-18 LTSOpenJDK Runtime Environment (Red_Hat-11.0.17.0.8-2.el7_9) (build 11.0.17+8-LTS)OpenJDK 64-Bit Server VM (Red_Hat-11.0.17.0.8-2.el7_9) (build 11.0.17+8-LTS, mixed mode, sharing)* Downloaded

Re: Uninstall Solr 9.1

2023-01-13 Thread Shawn Heisey
On 1/13/23 06:44, Anuj Bhargava wrote: Installed java - sudo dnf install java-11-openjdk *$java -versionopenjdk version "11.0.17" 2022-10-18 LTSOpenJDK Runtime Environment (Red_Hat-11.0.17.0.8-2.el7_9) (build 11.0.17+8-LTS)OpenJDK 64-Bit Server VM (Red_Hat-11.0.17.0.8-2.el7_9) (build 11.0.17+8-L

Re: Uninstall Solr 9.1

2023-01-13 Thread Anuj Bhargava
Thanks. Got Solr 9.1 working Regards, Anuj On Fri, 13 Jan 2023 at 19:32, Shawn Heisey wrote: > On 1/13/23 06:44, Anuj Bhargava wrote: > > Installed java - sudo dnf install java-11-openjdk > > > > *$java -versionopenjdk version "11.0.17" 2022-10-18 LTSOpenJDK Runtime > > Environment (Red_Hat-11

Importing Data from MySql

2023-01-13 Thread Anuj Bhargava
How do I import data from MySql database in Solr 9.1 Earlier I was using DIH in version 8.6.2 Regards, Anuj

Re: Importing Data from MySql

2023-01-13 Thread Markus Jelsma
Hello, DIH was removed in Solr 9.x. You can either build your own importer, or use the, now 3rd party, DIH [1] that is available as a package. Regards, Markus [1] https://github.com/rohitbemax/dataimporthandler Op vr 13 jan. 2023 om 14:47 schreef Anuj Bhargava : > How do I import data from MyS

Re: Importing Data from MySql

2023-01-13 Thread Jan Høydahl
I don't think the 3rd party DIH is maintained. Other options are using other 3rd party frameworks like ManifoldCF or Apache NiFI

Re: Importing Data from MySql

2023-01-13 Thread Dave
Yeah, it’s trivial building your own indexer in any language that can read a db. Also I wouldn’t trust the dih on its own even when supported > On Jan 13, 2023, at 10:17 AM, Jan Høydahl wrote: > > I don't think the 3rd party DIH is maintained. > > Other options are using other 3rd party fram

Re: Logging correlation id

2023-01-13 Thread Jan Høydahl
Have you considered enabling tracing, (header trace-parent) and get that Id added to the logs? Jan Høydahl > 13. jan. 2023 kl. 02:42 skrev Shawn Heisey : > > On 1/12/23 12:19, Srijan wrote: >> I am looking to log additional info to my Solr log. Specifically, I am >> looking to log a "correlati

Re: Importing Data from MySql

2023-01-13 Thread Thomas Corthals
Build an indexer that can send updates in batches. It'll be faster than sending each document in a separate request. Op vr 13 jan. 2023 om 16:41 schreef Dave : > Yeah, it’s trivial building your own indexer in any language that can read > a db. Also I wouldn’t trust the dih on its own even when s

Re: Importing Data from MySql

2023-01-13 Thread Dave
Agreed. I like either waiting until the entire thing is done or a modulus of like 1000 if you’re worried about it failing part way through and it’s big. The less commits the better > On Jan 13, 2023, at 10:49 AM, Thomas Corthals wrote: > > Build an indexer that can send updates in batches. It

Re: Importing Data from MySql

2023-01-13 Thread Gus Heck
Not sure I'd say it's trivial. But there are lots of folks who've done it successfully. As noted, batching is important, depending on the nature of the data fault tolerance can be important too. Daily data loads are a bit different than continuous feeds of data. Also depends on to what extent one

Re: Importing Data from MySql

2023-01-13 Thread Anuj Bhargava
So what would be the advice to a layman like me? 1. Use Solr 8.x with builtin DIH or 2. Use a 3rd part DIH with Solr 9.x I have more than 20 cores, updating data from mysql daily through cron. Regards, Anuj On Fri, 13 Jan 2023 at 20:33, Markus Jelsma wrote: > Hello, > > DIH was removed in So

Re: Importing Data from MySql

2023-01-13 Thread dmitri maziuk
On 2023-01-13 11:12 PM, Anuj Bhargava wrote: So what would be the advice to a layman like me? 1. Use Solr 8.x with builtin DIH or 2. Use a 3rd part DIH with Solr 9.x Export your data as JSON documents (look it up on Google) and POST them to Solr with curl (look it up in Solr documentation). M