Re: How to use Solr for two different projects on one server

2014-01-23 Thread Alexandre Rafalovitch
Just download Solr stack from the download page and practice on that. That has all the startup scripts and relative paths set up. Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps e

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Stavros Delisavas
I installed solr via apt-get and followed the online tutorials that I found to adjust the existing schema.xml and created dataconfig.xml the way I needed them. Was this the wrong approach? I don't know what Bitname stack is. Am 23.01.2014 12:50, schrieb Alexandre Rafalovitch: > You are not doi

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Alexandre Rafalovitch
You are not doing this on a download distribution, do you? You are using Bitnami stack or something. That's why you are not seeing the examples folder, etc. I recommend step back, use downloaded distribution and do your learning and setup using that. Then, go and see where your production stack pu

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Stavros Delisavas
Thanks a lot, those are great examples. I managed to get my cores working. What I noticed so far is that the first (auto-created) core is symlinking files to /etc/solr/... or to /var/lib/solr/... I now am not sure where my self made-collections should be. Shall I create folders in /usr/share/solr

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Alexandre Rafalovitch
You need config-dir level schema.xml, and solrconfig.xml. For multiple collections, you also need a top-level solr.xml. And unless the config files a lot of references to other files, you need nothing else. For examples, check the example directory in the distribution. Or have a look at examples f

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Stavros Delisavas
So far, I successfully managed to create a core from my existing configuration by opening this URL in my browser: http://localhost:8080/solr/admin/cores?action=CREATE&name=glPrototypeCore&instanceDir=/etc/solr New status from http://localhost:8080/solr/admin/cores?action=STATUS is: 0 4 /us

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Toke Eskildsen
On Thu, 2014-01-23 at 09:36 +0100, Stavros Delisavas wrote: > I am using Solr for my current web-application on my server successfully. > Also I would like to be able to have one state of my development version > and one state of my production version on my server so that I can do > tests on my dev

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Alexandre Rafalovitch
You are right on that one. Collection is the new term. Which is why basic example is "collection1". Core is the physical representation and it gets a bit confusing at that level with shards and all that. The documentation is in a transition. Regards, Alex. Personal website: http://www.outerthou

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Stavros Delisavas
I didn't know that the "core"-term is associated with this use case. I expected it to be some technical feature that allows to run more solr-instances for better multithread-cpu-usage. For example to activate two solr-cores when two cpu-cores are available on the server. So in general, I have the

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Alexandre Rafalovitch
Which is why it is curious that you did not find it. Looking back at it now, do you have a suggestion of what could be improved to insure people find this easier in the future? Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovit

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Stavros Delisavas
Thanks for the fast responses. Looks like exactly what I was looking for! Am 23.01.2014 09:46, schrieb Furkan KAMACI: > Hi; > > Firstly you should read here and learn the terminology of Solr: > http://wiki.apache.org/solr/SolrTerminology > > Thanks; > Furkan KAMACI > > > 2014/1/23 Alexandre Raf

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Furkan KAMACI
Hi; Firstly you should read here and learn the terminology of Solr: http://wiki.apache.org/solr/SolrTerminology Thanks; Furkan KAMACI 2014/1/23 Alexandre Rafalovitch > If you are not worried about them stepping on each other's toes > (performance, disk space, etc), just create multiple collec

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Alexandre Rafalovitch
If you are not worried about them stepping on each other's toes (performance, disk space, etc), just create multiple collections. There are examples of that in standard distribution (e.g. badly named example/multicore). Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: htt

Re: How to use Solr for two different projects on one server

2014-01-23 Thread Gora Mohanty
On 23 January 2014 14:06, Stavros Delisavas wrote: > Dear Solr-Experts, > > I am using Solr for my current web-application on my server successfully. > Now I would like to use it in my second web-application that is hosted > on the same server. Is it possible in any way to create two independent >

How to use Solr for two different projects on one server

2014-01-23 Thread Stavros Delisavas
Dear Solr-Experts, I am using Solr for my current web-application on my server successfully. Now I would like to use it in my second web-application that is hosted on the same server. Is it possible in any way to create two independent instances/databases in Solr? I know that I could create anothe