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

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

2014-01-23 Thread Stavros Delisavas
://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Thu, Jan 23, 2014 at 3:36 PM, Stavros Delisavas stav...@delisavas.de

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

2014-01-23 Thread Stavros Delisavas
, Jan 23, 2014 at 3:49 PM, Stavros Delisavas stav...@delisavas.de wrote: 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

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

2014-01-23 Thread Stavros Delisavas
the dataDir-parameter is for. I could not find any data-directories in /etc/solr/ but the creation of the first core worked anyway. Can someone help? Is there any better place for my new instance-directory and what files do I really need? Am 23.01.2014 10:10, schrieb Stavros Delisavas: I didn't

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

2014-01-23 Thread Stavros Delisavas
://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Thu, Jan 23, 2014 at 4:55 PM, Stavros Delisavas stav...@delisavas.de wrote: So far, I successfully managed

How to work with remote solr savely?

2013-11-22 Thread Stavros Delisavas
Hello Solr-Friends, I have a question about working with solr which is installed on a remote server. I have a php-project with a very big mysql-database of about 10gb and I am also using solr for about 10,000,000 entries indexed for fast search and access of the mysql-data. I have a local copy

Re: How to work with remote solr savely?

2013-11-22 Thread Stavros Delisavas
Thanks for your fast reply. First of all http basic authentication unfortunatly is not secure. Also this would give every developer full admin priviliges. Anyways, can you tell me where I can do those configurations? Are there any alternative or more secure ways to restrict solr-access? In

Re: Local Solr and Webserver-Solr act differently (and treated like or)

2013-10-17 Thread Stavros Delisavas
+title:wild*/str Why is that? Any ideas? Am 16.10.2013 21:03, schrieb Shawn Heisey: On 10/16/2013 4:46 AM, Stavros Delisavas wrote: My local solr gives me: http://pastebin.com/Q6d9dFmZ and my webserver this: http://pastebin.com/q87WEjVA I copied only the first few hundret lines (of more

Local Solr and Webserver-Solr act differently (and treated like or)

2013-10-16 Thread Stavros Delisavas
Hello Solr-Experts, I am currently having a strange issue with my solr querys. I am running a small php/mysql-website that uses Solr for faster text-searches in name-lists, movie-titles, etc. Recently I noticed that the results on my local development-environment differ from those on my

Re: Local Solr and Webserver-Solr act differently (and treated like or)

2013-10-16 Thread Stavros Delisavas
output say from debugQuery=true say between the two? On Oct 16, 2013, at 5:16, Stavros Delisavas stav...@delisavas.de wrote: Hello Solr-Experts, I am currently having a strange issue with my solr querys. I am running a small php/mysql-website that uses Solr for faster text-searches in name

How to query multiple words correctly

2013-07-13 Thread Stavros Delisavas
Hello Solr-Community, I am having some strange behavior that I don't understand. I hope you can help. I try to query/search for two words. For example (*foo* AND *bar*) What I want is to get all entries that contain the string foo AND contain the word bar. What I get is all entries that

Re: How to query multiple words correctly

2013-07-13 Thread Stavros Delisavas
://sematext.com/spm On Sat, Jul 13, 2013 at 5:40 AM, Stavros Delisavas stav...@delisavas.de wrote: Hello Solr-Community, I am having some strange behavior that I don't understand. I hope you can help. I try to query/search for two words. For example (*foo* AND *bar*) What I want is to get all

Re: data-import problem

2013-06-06 Thread Stavros Delisavas
I tryed to deactivate the uniquekey, but that made solr not work at all. I got Error 500 for everything (no admin page, etc). So I had to reactivate it. This is my current configuration as you recommended. Unfortunatly still no improvement. The second table doesn't get recorded. I included

Re: Heap space problem with mlt query

2013-06-06 Thread Stavros Delisavas
I recently had the same issue which could be fixed very easily. Add the property batchSize=-1 to your dataSource-tag. Tell me if that helped. Am 06.06.2013 11:30, schrieb Varsha Rani: Hi, As per suggestions , changed in my config file as : reduced document cache size from 31067 to 16384

Re: data-import problem

2013-06-06 Thread Stavros Delisavas
It's surprising to me that all tables have to have a relationship in order to be used in solr. What if I have two indipendent projects running on the same webserver? I would not be able to use Solr for both of them, really? That would be very dissappointing... Anyway, luckily there is an

Re: data-import problem

2013-06-06 Thread Stavros Delisavas
Unfortunatly my two tables do not share a unique key. they both have integers as keys starting with number 1. Is there any way to overcome this problem? Removing the uniquekey-property from my schema.xml leads to solr not working (I have tryed that already). The link you provided is showing

Re: data-import problem

2013-06-06 Thread Stavros Delisavas
Perfect! This finally worked! Shawn, thank you a lot! How do I set up multiple cores? Again, thank you so much! I was looking for a solution for days! Am 06.06.2013 19:23, schrieb Shawn Heisey: On 6/6/2013 11:15 AM, Stavros Delisavas wrote: Unfortunatly my two tables do not share a unique

Re: data-import problem

2013-06-06 Thread Stavros Delisavas
Think about movies and the cast of a movie. There are movies (title) which have their unique ids. And there are many people (name) like the producer, actors, etc which have their unique ids. But there are ppl who have been actor in more than one movie. Thats why i have a third table which

Re: data-import problem

2013-06-06 Thread Stavros Delisavas
Thats okay. For now, I guess it is okay. Finally I could import all 6.6 million entries successfully. I am happy. Am 06.06.2013 19:44, schrieb Shawn Heisey: On 6/6/2013 11:38 AM, Stavros Delisavas wrote: Perfect! This finally worked! Shawn, thank you a lot! How do I set up multiple cores

data-import problem

2013-06-05 Thread Stavros Delisavas
Hello Solr-Friends, I have a problem with my current solr configuration. I want to import two tables into solr. I got it to work for the first table, but the second table doesn't get imported (no errormessage, 0 rows skipped). I have two tables called name and title and i want to load their

data-import problem

2013-06-05 Thread Stavros Delisavas
Hello Solr-Friends, I have a problem with my current solr configuration. I want to import two tables into solr. I got it to work for the first table, but the second table doesn't get imported (no errormessage, 0 rows skipped). I have two tables called name and title and i want to load their

data-import problem

2013-06-05 Thread Stavros Delisavas
Hello Solr-Friends, I have a problem with my current solr configuration. I want to import two tables into solr. I got it to work for the first table, but the second table doesn't get imported (no errormessage, 0 rows skipped). I have two tables called name and title and i want to load their

Re: data-import problem

2013-06-05 Thread Stavros Delisavas
Thanks so far. This change makes Solr work over the title-entries too, yay! Unfortunatly they don't get processed(skipped rows). In my log it says missing required field id for every entry. I checked my schema.xml. In there id is not set as a required field. removing the uniquekey-property

Re: data-import problem

2013-06-05 Thread Stavros Delisavas
of these entries. Let me know if you need more information. Thank you! Am 05.06.2013 20:54, schrieb Gora Mohanty: On 6 June 2013 00:09, Stavros Delisavas stav...@delisavas.de wrote: Thanks so far. This change makes Solr work over the title-entries too, yay! Unfortunatly they don't get processed