how to create and set up Zookeeper for Solr

2023-01-28 Thread marc nicole
Hello, I want to set up Zookeeper for Solr, how to do that for locally working with Solr ? The port should be 9983. For now I got an error saying can't connect to Zookeeper Thanks.

Re: how to create and set up Zookeeper for Solr

2023-01-28 Thread marc nicole
More into details, when i try to connect a Spark client to Solr (through a spark-solr connector) i get the following message: Caused by: org.apache.solr.common.SolrException: Cannot connect to cluster at localhost:9983/solr: cluster not found/not ready Le sam. 28 janv. 2023 à 09:36, marc nicole a

Re: how to create and set up Zookeeper for Solr

2023-01-28 Thread matthew sporleder
solr comes with zookeeper embedded and starts up on 9983 by default if you start in "cloud mode". You can also run zookeeper on its own set of clusters but try to match up the version with what comes embedded. On Sat, Jan 28, 2023 at 8:05 AM marc nicole wrote: > > More into details, when i try t

Re: how to create and set up Zookeeper for Solr

2023-01-28 Thread marc nicole
That's what I suspected at first but netstat -a doesn't show that 9983 is being listened to. http://localhost:8983/solr/#/ is up and running. Le sam. 28 janv. 2023 à 14:52, matthew sporleder a écrit : > solr comes with zookeeper embedded and starts up on 9983 by default if > you start in "cloud

Re: how to create and set up Zookeeper for Solr

2023-01-28 Thread marc nicole
what is the solr command to run cloud mode? Le sam. 28 janv. 2023 à 14:52, matthew sporleder a écrit : > solr comes with zookeeper embedded and starts up on 9983 by default if > you start in "cloud mode". > > You can also run zookeeper on its own set of clusters but try to match > up the version

Re: how to create and set up Zookeeper for Solr

2023-01-28 Thread matthew sporleder
https://solr.apache.org/guide/8_1/solr-control-script-reference.html On Sat, Jan 28, 2023 at 8:56 AM marc nicole wrote: > > what is the solr command to run cloud mode? > > Le sam. 28 janv. 2023 à 14:52, matthew sporleder a > écrit : > > > solr comes with zookeeper embedded and starts up on 9983

Re: how to create and set up Zookeeper for Solr

2023-01-28 Thread marc nicole
If Solr cloud is launched at port 8984, zooKeeper will be at port 9984 right ? Le sam. 28 janv. 2023 à 15:05, matthew sporleder a écrit : > https://solr.apache.org/guide/8_1/solr-control-script-reference.html > > On Sat, Jan 28, 2023 at 8:56 AM marc nicole wrote: > > > > what is the solr comman

Re: how to create and set up Zookeeper for Solr

2023-01-28 Thread marc nicole
Thanks matthew it is now working! Le sam. 28 janv. 2023 à 15:15, marc nicole a écrit : > If Solr cloud is launched at port 8984, zooKeeper will be at port 9984 > right ? > > Le sam. 28 janv. 2023 à 15:05, matthew sporleder a > écrit : > >> https://solr.apache.org/guide/8_1/solr-control-script-r

Solr Query time performance

2023-01-28 Thread marc nicole
Hello guys, I have been playing with Solr lately, and I tested it over a csv file of about 200 rows (that I indexed in Solr). I also read the file in Spark and perform filtering over an attribute value and compute time of processing when the dataset is loaded from File System vs. Solr. I find the

Re: Solr Query time performance

2023-01-28 Thread Jan Høydahl
For 200 values you need neither spark nor Solr. A plain Java in mem filter is much simpler 😉 Sorry, you cannot benchmark like this. You have to select a real use case and then select technology base on the requirements at hand. And to benchmark you must use a realistic data set. Jan Høydahl >