Re: Exceptions in Embedded Solr

2010-12-04 Thread Tharindu Mathew
Any help on this? On Thu, Dec 2, 2010 at 7:51 PM, Tharindu Mathew wrote: > Hi everyone, > > I get the exception below when using Embedded Solr suddenly. If I > delete the Solr index it goes back to normal, but it obviously has to > start indexing from scratch. Any idea what the c

Exceptions in Embedded Solr

2010-12-02 Thread Tharindu Mathew
Hi everyone, I get the exception below when using Embedded Solr suddenly. If I delete the Solr index it goes back to normal, but it obviously has to start indexing from scratch. Any idea what the cause of this is? java.lang.RuntimeException: java.io.FileNotFoundException: /home/evanthika/WSO2/CAR

org.tartarus package in lucene/solr?

2010-10-29 Thread Tharindu Mathew
Hi, How come $subject is present?? -- Regards, Tharindu

Re: how well does multicore scale?

2010-10-27 Thread Tharindu Mathew
Hi mike, I think I wasn't clear, Each document will only be tagged with one user_id, or to be specific one tenant_id. Users of the same tenant can't upload the same document to the same path. So I use this to make the key unique for each tenant. So I can index, delete without a problem. On Wed,

Re: how well does multicore scale?

2010-10-26 Thread Tharindu Mathew
Really great to know you were able to fire up about 100 cores. But, when it scales up to around 1000 or even more. I wonder how it would perform. I have a question regarding ids i.e. the unique key. Since there is a potential use case that two users might add the same document, how would we set th

Jars required in classpath to run embedded solr server?

2010-10-26 Thread Tharindu Mathew
Hi everyone, Do we need all lucene jars in the class path for this? Seems that the solr-solrj and solr-core jars are not enough (http://wiki.apache.org/solr/Solrj). It is asking for lucene jars in the classpath. Could I know what jars are required to run this? Thanks in advance. -- Regards, Th

Re: how well does multicore scale?

2010-10-22 Thread Tharindu Mathew
ct 21, 2010 at 10:44 PM, Tharindu Mathew wrote: >> Hi Mike, >> >> I've also considered using a separate cores in a multi tenant >> application, ie a separate core for each tenant/domain. But the cores >> do not suit that purpose. >> >> If you check ou

Re: how well does multicore scale?

2010-10-21 Thread Tharindu Mathew
Hi Mike, I've also considered using a separate cores in a multi tenant application, ie a separate core for each tenant/domain. But the cores do not suit that purpose. If you check out documentation no real API support exists for this so it can be done dynamically through SolrJ. And all use cases

Re: Using a custom repository to store solr index files

2010-10-21 Thread Tharindu Mathew
ystem this does not happen. So according to your answer I'll get the source and take a look at the Directory interface. On Thu, Oct 21, 2010 at 4:53 PM, Upayavira wrote: > > > On Thu, 21 Oct 2010 14:42 +0530, "Tharindu Mathew" > wrote: >> Hi everyone, >>

Using a custom repository to store solr index files

2010-10-21 Thread Tharindu Mathew
Hi everyone, I was looking at using the Embedded Solr server through SolrJ and I have a couple of concerns. I'd like to use a custom repository to store my index. Is there a way I can define this. Is there a data output interface I can implement for this purpose? Or can this be done in some way?

Re: Not able to subscribe to ML

2010-10-20 Thread Tharindu Mathew
I had the same problem. The work around was to send mails in plain text. On Wed, Oct 20, 2010 at 10:21 AM, Abdullah Shaikh wrote: > Just a test mail to check if my mails are reaching the ML. > > I dont know, but my mails are failing to reach the ML with the following > error : > > Delivery to the

Re: API for using Multi cores with SolrJ

2010-10-18 Thread Tharindu Mathew
Thanks Peter. That helps a lot. It's weird that this not documented anywhere. :( On Mon, Oct 18, 2010 at 3:42 PM, Peter Karich wrote: > I asked this myself ... here could be some pointers: > > http://lucene.472066.n3.nabble.com/SolrJ-and-Multi-Core-Set-up-td1411235.html > http://lucene.472066.n3.

Re: How do you programatically create new cores?

2010-10-17 Thread Tharindu Mathew
Hi Marc, Thanks for the reply. So as I understand I need to make a http get call with an action parameter set to create to dynamically create a core? I do not see an API to do this anywhere. On Oct 17, 2010, at 3:54 PM, Marc Sturlese wrote: > > You have to create the core's folder with i

How do you programatically create new cores?

2010-10-15 Thread Tharindu Mathew
Hi everyone, I'm a newbie at this and I can't figure out how to do this after going through http://wiki.apache.org/solr/CoreAdmin? Any sample code would help a lot. Thanks in advance. -- Regards, Tharindu

SolrJ API for multi core?

2010-10-15 Thread Tharindu Mathew
Hi, Is $subject available?? Or do I need to make HTTP Get calls? -- Regards, Tharindu

API for using Multi cores with SolrJ

2010-10-14 Thread Tharindu Mathew
Hi everyone, I'm trying to write some code for creating and using multi cores. Is there a method available for this purpose or do I have to do a HTTP to a URL such as http://localhost:8983/solr/admin/cores?action=STATUS&core=core0 Is there an API available for this purpose. For example, if I wan

Re: multi cores vs filter queries for a multi tenant deployment

2010-10-12 Thread Tharindu Mathew
Basically, for a large number of users would using a single index or using a multi core approach be better? On Tue, Oct 12, 2010 at 11:39 AM, Tharindu Mathew wrote: > Hi everyone, > > I'm sort of looking in to a deployment which will support multi tenancy. > This means that th

multi cores vs filter queries for a multi tenant deployment

2010-10-11 Thread Tharindu Mathew
Hi everyone, I'm sort of looking in to a deployment which will support multi tenancy. This means that there will be 1000s of tenant domains each having 1000s of users. I need to figure out which approach is better for this deployment when using the solr server. Approach #1 - Use multi cores for e

Re: How to manage different indexes for different users

2010-10-11 Thread Tharindu Mathew
Great! Just what I need. Thanks for all the help. I'll let you know how it goes. On Mon, Oct 11, 2010 at 11:37 PM, Markus Jelsma wrote: > Well, set the user ID for each document and use a filter query to filter > only on field:. > > On Mon, 11 Oct 2010 23:25:29 +0530, Tharind

Re: How to manage different indexes for different users

2010-10-11 Thread Tharindu Mathew
che.org/solr/CoreAdmin#CREATE > > > On Mon, 11 Oct 2010 22:40:03 +0530, Tharindu Mathew > wrote: > >> Thanks Li. I checked out multi cores documentation. >> >> How do I dynamically create new cores as new users are added. Is that >> possible? >> >>

Re: How to manage different indexes for different users

2010-10-11 Thread Tharindu Mathew
Thanks Li. I checked out multi cores documentation. How do I dynamically create new cores as new users are added. Is that possible? On Mon, Oct 11, 2010 at 2:31 PM, Li Li wrote: > will one user search other user's index? > if not, you can use multi cores. > > 2010/10/1

How to manage different indexes for different users

2010-10-11 Thread Tharindu Mathew
Hi everyone, I'm using solr to integrate search into my web app. I have a bunch of users who would have to be given their own individual indexes. I'm wondering whether I'd have to append their user ID as I index a file. I'm not sure which approach to follow. Is there a sample or a doc I can read