Re: Setting up Solr Replica on different machine

2018-06-02 Thread Zheng Lin Edwin Yeo
Hi Shawn, Yes, I am using SolrCloud. The multiple replicas on the same machine is only for testing. Regards, Edwin On 1 June 2018 at 20:35, Shawn Heisey wrote: > On 5/31/2018 11:38 PM, Zheng Lin Edwin Yeo wrote: > >> I am planning to set up Solr with replica on different machine. How should >

Re: Setting up Solr Replica on different machine

2018-06-01 Thread Shawn Heisey
On 5/31/2018 11:38 PM, Zheng Lin Edwin Yeo wrote: I am planning to set up Solr with replica on different machine. How should I go about configuring the setup? Like for example, should the replica node be started on the host machine, or on the replica machine? I will be setting this in Solr 7.3.1

Re: Setting Up Solr Authentication/Authorization

2018-03-09 Thread Shawn Heisey
On 3/9/2018 9:27 AM, Terry Steichen wrote: > I'm trying to set up basic authentication/authorization with solr 6.6.0. > > The documentation says to create a security.json file and describes the > content as: > > { > "authentication":{ >"class":"solr.BasicAuthPlugin", >"credentials":{"solr":

Re: Setting up Solr on multiple machines

2015-11-30 Thread Mugeesh Husain
Hi, You should create below command on any of solr server. bin/solr create -c mytestcollection -d data_driven_schema_configs -shards 2 -replicationFactor 2 it will display as mytestcollection-- 1.>shard1

Re: Setting up Solr on multiple machines

2015-11-29 Thread Salman Ansari
Also I am interested in knowing how to create a collection where the replica and the same shard do not reside on the same machine. So, basically, shard1 with replica2 in one machine and shard2 with replica1 on the other machine. Is that by default when creating a collection of 2 shards and 2 replic

Re: Setting up Solr on multiple machines

2015-11-29 Thread Walter Underwood
Connecting to one Zookeeper node is fine. Until that node fails. Then what does Solr do for cluster information? The entire point of Zookeeper is to share that information in a reliable, fault-tolerant way. Solr can talk to any Zookeeper node and get the same information. wunder Walter Underwo

Re: Setting up Solr on multiple machines

2015-11-29 Thread Salman Ansari
Correct me if I am wrong but my understanding is that even connecting to one zookeeper should be enough as internally that zookeeper will sync Solr server info to other zookeepers in the ensemble (as long as that zookeeper belongs to an ensemble). Having said that, if that particular zookeeper goes

Re: Setting up Solr on multiple machines

2015-11-29 Thread Walter Underwood
Why would that link answer the question? Each Solr connects to one Zookeeper node. If that node goes down, Zookeeper is still available, but the node will need to connect to a new node. Specifying only one zk node is a single point of failure. If that node goes down, Solr cannot continue opera

Re: Setting up Solr on multiple machines

2015-11-29 Thread Don Bosco Durai
This should answer your question: https://zookeeper.apache.org/doc/r3.2.2/zookeeperOver.html#sc_designGoals On 11/29/15, 12:04 PM, "Salman Ansari" wrote: >my point is that what is the exact difference between the whole list and >one zookeeper? Moreover, I think this issue is related to Windo

Re: Setting up Solr on multiple machines

2015-11-29 Thread Salman Ansari
my point is that what is the exact difference between the whole list and one zookeeper? Moreover, I think this issue is related to Windows command as mentioned here http://stackoverflow.com/questions/28837827/solr-5-0-unable-to-start-solr-with-zookeeper-ensemble On Sun, Nov 29, 2015 at 10:55 PM,

Re: Setting up Solr on multiple machines

2015-11-29 Thread Don Bosco Durai
It is highly recommended to list all, but for testing, you might be able to get away giving only one. If the list doesn’t work, then you might even want to look into zookeeper and see whether they are setup properly. Bosco On 11/29/15, 11:51 AM, "Salman Ansari" wrote: >but the point is:

Re: Setting up Solr on multiple machines

2015-11-29 Thread Salman Ansari
but the point is: do I really need to list all the zookeepers in the ensemble when starting solr or I can just specify one of them? On Sun, Nov 29, 2015 at 10:45 PM, Don Bosco Durai wrote: > You might want to check the logs for why solr is not starting up. > > > Bosco > > > On 11/29/15, 11:30 AM

Re: Setting up Solr on multiple machines

2015-11-29 Thread Don Bosco Durai
You might want to check the logs for why solr is not starting up. Bosco On 11/29/15, 11:30 AM, "Salman Ansari" wrote: >Thanks for your reply. > > > >Actually I am following the official guide to start solr using (on Windows >machines) > > > >bin/solr start -e cloud -z zk1:2181,zk2:2182,zk3:2

Re: Setting up Solr on multiple machines

2015-11-29 Thread Salman Ansari
Thanks for your reply. Actually I am following the official guide to start solr using (on Windows machines) bin/solr start -e cloud -z zk1:2181,zk2:2182,zk3:2183 (it is listed here https://cwiki.apache.org/confluence/display/solr/Setting+Up+an+External+ZooKeeper+Ensemble ) However, I am f

Re: Setting up Solr on multiple machines

2015-11-29 Thread Don Bosco Durai
For 2a, assuming you want to tell Solr where to store the local indexes, in SolrCloud I have generally updated the solr.in.sh for the variable SOLR_HOME=. Make sure solr.xml is in that folder and optionally zoo.cfg. For 2b, as Erick mentioned, you need all three params. Solr by default will exp

Re: Setting up Solr on multiple machines

2015-11-29 Thread Erick Erickson
1> I'll pass 2a> yes. 2b> This should be automatic when you create the collection. You should specify numShards=2, replicationFactor=2 and maxShardsPerNode=2. Solr tries hard to distribute the shards and replicas on different machines. If you _really_ require exact placement, you can specify

Re: Setting up Solr on multiple machines

2015-11-28 Thread Salman Ansari
I have started with one Zookeeper to test things and I have the following questions 1) In my zoo.cfg I have defined tickTime=4000 dataDir=C:\\Solr\\Zookeeper\\zookeeper-3.4.6\\data clientPort=2183 the strange thing is that it picks up dataDir and clientPort but always keeps tickTime = 3000. Any i

Re: Setting up Solr on multiple machines

2015-11-26 Thread Zheng Lin Edwin Yeo
Yes, the ZooKeeper is Windows compatible. You can follow the guide, just need to replace the Linux commands with the Windows commands and paths Regards, Edwin On 26 November 2015 at 20:56, Alessandro Benedetti wrote: > I think it should be straightforward following the Solr wiki : > > > https

Re: Setting up Solr on multiple machines

2015-11-26 Thread Alessandro Benedetti
I think it should be straightforward following the Solr wiki : https://cwiki.apache.org/confluence/display/solr/Setting+Up+an+External+ZooKeeper+Ensemble I never played much in details with zookeeper ( never tried on a windows machine), but I assume it is windows compatible ( I can see binaries .

Re: Setting up SOLR 5 from an RPM

2015-03-25 Thread Tom Evans
On Wed, Mar 25, 2015 at 2:40 PM, Shawn Heisey wrote: > I think you will only need to change the ownership of the solr home and > the location where the .war file is extracted, which by default is > server/solr-webapp. The user must be able to *read* the program data, > but should not need to writ

Re: Setting up SOLR 5 from an RPM

2015-03-25 Thread Shawn Heisey
On 3/25/2015 5:49 AM, Tom Evans wrote: > On Tue, Mar 24, 2015 at 4:00 PM, Tom Evans wrote: >> Hi all >> >> We're migrating to SOLR 5 (from 4.8), and our infrastructure guys >> would prefer we installed SOLR from an RPM rather than extracting the >> tarball where we need it. They are creating the R

Re: Setting up SOLR 5 from an RPM

2015-03-25 Thread Tom Evans
On Tue, Mar 24, 2015 at 4:00 PM, Tom Evans wrote: > Hi all > > We're migrating to SOLR 5 (from 4.8), and our infrastructure guys > would prefer we installed SOLR from an RPM rather than extracting the > tarball where we need it. They are creating the RPM file themselves, > and it installs an init.

RE: setting up solr on tomcat

2014-03-31 Thread Lieberman, Ariel
ubject: Re: setting up solr on tomcat What is the exception stack trace? The link looks good and works for Solr4.x From: Michael Sokolov To: solr-user@lucene.apache.org Sent: Sunday, March 23, 2014 7:56 AM Subject: Re: setting up solr on tomcat On 3/22/20

Re: setting up solr on tomcat

2014-03-23 Thread Pradeep Pujari
What is the exception stack trace? The link looks good and works for Solr4.x From: Michael Sokolov To: solr-user@lucene.apache.org Sent: Sunday, March 23, 2014 7:56 AM Subject: Re: setting up solr on tomcat On 3/22/2014 2:16 AM, anupamk wrote: > Hi, >

Re: setting up solr on tomcat

2014-03-23 Thread Michael Sokolov
On 3/22/2014 2:16 AM, anupamk wrote: Hi, Is the solrTomcat wiki article valid for solr-4.7.0 ? http://wiki.apache.org/solr/SolrTomcat I am not able to deploy solr after following the instructions there. When I try to access the solr admin page I get a 404. I followed every step exactly as me

Re: Setting up solr on production server

2014-02-20 Thread Shawn Heisey
On 2/20/2014 10:40 PM, Jay Potharaju wrote: > I 'm looking for some tips or guidelines to installing solr on the > production server. I am currently using jetty in my dev environment. > Is it recommended to use tomcat on the production server? Are there are > major advantages of using one over ano

RE: Setting up solr on production server

2014-02-20 Thread Suresh Soundararajan
You can go ahead with Tomcat by deploying the solr war in it. It is highly scalable. Thanks, SureshKumar.S From: Jay Potharaju Sent: Friday, February 21, 2014 11:10 AM To: solr-user@lucene.apache.org Subject: Setting up solr on production server Hi, I '

Re: Setting up Solr

2013-06-05 Thread Shawn Heisey
> We have a number of Jira issues that specifically deal with something > called "Developer Curb Appeal." I think it's pretty clear that we need > to tackle a bunch of things we could call "Newcomer Curb Appeal." I can > work on filing some issues, some of which will address code, some of > which

Re: Setting up Solr

2013-06-05 Thread Yago Riveiro
If we see the UI of other cloud base softwares like couchbase or riak, they are more intuitive than solr's UI. Of course the UI is brand new and need a lot of improvements. Per example the possibility of select a existing config from zookeeper when you are using the wizard to create a collection

Re: Setting up Solr

2013-06-05 Thread Alexandre Rafalovitch
On Wed, Jun 5, 2013 at 1:48 AM, Aaron Greenspan wrote: > I say this not because I enjoy starting flame wars or because I have the time > to participate in them--I don't. I realize that there's a long history to > Solr and I am the new kid who doesn't get it. Nonetheless, that doesn't > change t

Re: Setting up Solr

2013-06-05 Thread Shawn Heisey
On 6/4/2013 11:48 PM, Aaron Greenspan wrote: > I thought I'd document my process of getting set up with Solr 4.3.0 on a > Linux server in case it's of use to anyone. I'm a moderately experienced > Linux system administrator, so without passing judgment (at least for now), > let me just say that

Re: Setting up Solr for first time

2011-11-08 Thread Chris Hostetter
: But when feeding in a PDF I'm getting a permissions error but not sure : how to tell where, exactly, the problem is or what I need to do to fix : it?!? Interesting. The problem is coming from the "PDFBox" library used to parse PDF files on your Solr server, but the origin of hte issue seems

Re: Setting up Solr 3.4 example with Tomcat 7

2011-10-02 Thread Stardrive Engineering
I'm on OS X for Solr work. It would be great to have a Tomcat based example because it involves a lot of effort just to get something up and functional other wise. Here is how I see it making sense: 1 - Have a tutorial or distribution that has Tomcat and Solr integrated, this can be cloned an

Re: Setting up Solr 3.4 example with Tomcat 7

2011-10-02 Thread Gora Mohanty
On Sun, Oct 2, 2011 at 8:13 PM, Peter Wolanin wrote: > I've seen a number of users fail to get Solr working correctly in > combination with the Drupal client code when using the .deb installer > so I have been strongly recommending against it personally. Hmm, have never done this myself for Drupa

Re: Setting up Solr 3.4 example with Tomcat 7

2011-10-02 Thread Peter Wolanin
I've seen a number of users fail to get Solr working correctly in combination with the Drupal client code when using the .deb installer so I have been strongly recommending against it personally. It's also a rather stale version of Solr, generally. -Peter On Sun, Oct 2, 2011 at 4:04 AM, Gora Moh

Re: Setting up Solr 3.4 example with Tomcat 7

2011-10-02 Thread Gora Mohanty
On Sun, Oct 2, 2011 at 12:22 PM, Stardrive Engineering wrote: > Thanks. Since Tomcat and Solr are running already Tomcat oriented samples to > quickly get up to > speed would be good to have next. I think that the issue is that Jetty is small, and easy to embed and get running, which is why it i

Re: Setting up Solr 3.4 example with Tomcat 7

2011-10-02 Thread Stardrive Engineering
Thanks. Since Tomcat and Solr are running already Tomcat oriented samples to quickly get up to speed would be good to have next. What do you think of this site, is it up to date and worth learning? The site seems to get cut off prematurely, are there more tutorials of this kind? http://synaptic

Re: Setting up Solr 3.4 example with Tomcat 7

2011-10-01 Thread Gora Mohanty
On Sun, Oct 2, 2011 at 10:29 AM, Stardrive Engineering wrote: > Solr, > > We are looking to test Solr in a Tomcat setting and have discovered that the > samples that come with Solr are demonstrated with Jetty. Is there a tutorial > that teaches how to rebuild these samples within Tomcat? So far

RE: Setting up Solr for PDFs on JBoss

2011-01-04 Thread Olson, Ron
8:10 PM To: solr-user@lucene.apache.org Subject: Re: Setting up Solr for PDFs on JBoss What's your solrconfig.xml look like for setting up the ExtractingReqHandler? -Grant On Jan 3, 2011, at 4:44 PM, Olson, Ron wrote: > Hi all- > > After testing the PDF import functionality in my

Re: Setting up Solr for PDFs on JBoss

2011-01-04 Thread Jak Akdemir
In JBoss, duplicate libraries will be ignored as you mentioned. You may start to find libraries used in JBoss with "find -name *.jar". I don't know any other resource than wiki. It says remove the libraries below. - xercesImpl-2.8.1.jar - xml-apis-1.3.03.jar http://wiki.apache.org/solr/Sol

Re: Setting up Solr for PDFs on JBoss

2011-01-03 Thread Grant Ingersoll
What's your solrconfig.xml look like for setting up the ExtractingReqHandler? -Grant On Jan 3, 2011, at 4:44 PM, Olson, Ron wrote: > Hi all- > > After testing the PDF import functionality in my local copy of Solr 1.4.1 > with the included Jetty app server, I tried replicating it using my copy

Re: setting up solr in eclipse

2010-12-17 Thread Adeel Qureshi
never mind .. re-did all the steps with a newer version of eclipse and jdk .. and its all looking good now .. On Fri, Dec 17, 2010 at 6:19 PM, Adeel Qureshi wrote: > This is definitely a solr-dev mailing list question but I cant get the darn > list to let me subscribe .. have subscribed several t