RE: Deleting indices

2008-11-27 Thread Raghunandan Rao
: Deleting indices On 26-Nov-08, at 4:48 AM, Raghunandan Rao wrote: > I have restarted and re-indexed all the docs after the change in the > schema.xml. I was able to search even after that. > > I hit browser with this url > > http://localhost:7001/solr/select?q=name:2124&fl=*&a

RE: Deleting indices

2008-11-27 Thread Raghunandan Rao
Can anybody please let me know why is this happening? I have also tried giving indexed="false" for name field in the xml. -Original Message----- From: Raghunandan Rao [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 6:18 PM To: solr-user@lucene.apache.org Subject: RE

RE: Deleting indices

2008-11-26 Thread Raghunandan Rao
ROTECTED] Sent: Wednesday, November 26, 2008 6:14 PM To: solr-user@lucene.apache.org Subject: Re: Deleting indices Did you change your schema.xml after you indexed the documents? On Wed, Nov 26, 2008 at 6:08 PM, Raghunandan Rao < [EMAIL PROTECTED]> wrote: > I am not sure. It is showing

RE: Deleting indices

2008-11-26 Thread Raghunandan Rao
On Wed, Nov 26, 2008 at 5:01 PM, Raghunandan Rao < [EMAIL PROTECTED]> wrote: > Ok. > I have another query on search. > > I have given two fields to be indexed = true in xml. > > > required="false"/> > required="false"/> > > But

RE: Deleting indices

2008-11-26 Thread Raghunandan Rao
TED] Sent: Wednesday, November 26, 2008 4:20 PM To: solr-user@lucene.apache.org Subject: Re: Deleting indices nope . you cannot update a document in Solr. You can only delete and add a new one On Wed, Nov 26, 2008 at 4:11 PM, Raghunandan Rao <[EMAIL PROTECTED]> wrote: > Ok. Can I updat

RE: Deleting indices

2008-11-26 Thread Raghunandan Rao
ED] Sent: Wednesday, November 26, 2008 3:56 PM To: solr-user@lucene.apache.org Subject: Re: Deleting indices yes On Wed, Nov 26, 2008 at 3:19 PM, Raghunandan Rao <[EMAIL PROTECTED]> wrote: > Hi, > > I need to update an index after I update data in the DB. I will first > update

Deleting indices

2008-11-26 Thread Raghunandan Rao
Hi, I need to update an index after I update data in the DB. I will first update the DB and then call deleteByQuery in Solrj and then update particular index. What happens to deleteByQuery method if there are multiple ids found? For eg, I am using deleteByQuery("12"); Can I specify field n

RE: Unique id

2008-11-21 Thread Raghunandan Rao
Can you also let me know how I join two search indices in one query? That means, in this case I have two diff search indices and I need to join by queueId and get all the tasks in one SolrQuery. I am creating queries in Solrj. -Original Message- From: Raghunandan Rao [mailto:[EMAIL

RE: Unique id

2008-11-21 Thread Raghunandan Rao
by doing the query "name:solr" OR "name:lucene". Do you understand now, or is it still unclear? - Aleks On Fri, 21 Nov 2008 10:56:38 +0100, Raghunandan Rao <[EMAIL PROTECTED]> wrote: > Ok. There is common column in two views called queueId. I query second >

RE: Unique id

2008-11-21 Thread Raghunandan Rao
ent) > --- which makes no sense to me... > > So, can you clearify the relationship between the two views, and how you > are thinking of inserting entries into your index? > > - Aleks > > > > On Fri, 21 Nov 2008 10:33:28 +0100, Raghunandan Rao > <[EMAIL

RE: Unique id

2008-11-21 Thread Raghunandan Rao
views. ie. table 1: (id (int), subject (string) -.--) table 2: (category (string), other fields ..) So please post this and we can try to help you. - Aleks On Fri, 21 Nov 2008 07:49:31 +0100, Raghunandan Rao <[EMAIL PROTECTED]> wrote: > Thanks Erik. > If I convert that to a str

RE: Unique id

2008-11-20 Thread Raghunandan Rao
serve as the Solr uniqueKey field value. Erik On Nov 20, 2008, at 1:10 AM, Raghunandan Rao wrote: > Basically, I am working on two views. First one has an ID column. The > second view has no unique ID column. What to do in such situations? > There are 3 other columns wher

RE: Unique id

2008-11-19 Thread Raghunandan Rao
eady > found in the index, the old document will be deleted and the new > will be added. Are you indexing two tables into the same index? Or > does one entry in the index consist of data from both tables? How > are these linked together without an ID? > > - Aleksander &

RE: Unique id

2008-11-19 Thread Raghunandan Rao
Maybe you could post the table structure so that I can get a better understanding of your use-case... - Aleks On Wed, 19 Nov 2008 11:25:56 +0100, Raghunandan Rao <[EMAIL PROTECTED]> wrote: > Ok got it. > I am indexing two tables differently. I am using Solrj to index with > @F

RE: Unique id

2008-11-19 Thread Raghunandan Rao
ese linked together without an ID? - Aleksander On Wed, 19 Nov 2008 10:42:00 +0100, Raghunandan Rao <[EMAIL PROTECTED]> wrote: > Hi, > > Is the uniqueKey in schema.xml really required? > > > Reason is, I am indexing two tables and I have id as unique key in > schema.xml bu

Unique id

2008-11-19 Thread Raghunandan Rao
Hi, Is the uniqueKey in schema.xml really required? Reason is, I am indexing two tables and I have id as unique key in schema.xml but id field is not there in one of the tables and indexing fails. Do I really require this unique field for Solr to index it better or can I do away with this?

abt Multicore

2008-11-17 Thread Raghunandan Rao
Hi, I have an app running on weblogic and oracle. Oracle DB is quite huge; say some 10 millions of records. I need to integrate Solr for this and I am planning to use multicore. How can multicore feature can be at the best? -Raghu

RE: Solrj queries

2008-11-13 Thread Raghunandan Rao
, 2008, at 12:14 AM, Raghunandan Rao wrote: > Hi, > > Can anybody let me know how to do logical searches using Solrj. I have > indexed the data and now I want to do search based on fields using > Solrj > as I have to retrieve in the form of beans. > > > > For eg. &g

Solrj queries

2008-11-13 Thread Raghunandan Rao
Hi, Can anybody let me know how to do logical searches using Solrj. I have indexed the data and now I want to do search based on fields using Solrj as I have to retrieve in the form of beans. For eg. I have two fields, First name and last name I have to retrieve only names which match both

RE: Using Solrj

2008-10-31 Thread Raghunandan Rao
Thank you. I was talking about DataImportHandler API. -Original Message- From: Shalin Shekhar Mangar [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 5:19 PM To: solr-user@lucene.apache.org Subject: Re: Using Solrj On Fri, Oct 31, 2008 at 4:32 PM, Raghunandan Rao < [EM

RE: Using Solrj

2008-10-31 Thread Raghunandan Rao
PROTECTED] Sent: Friday, October 31, 2008 11:37 AM To: solr-user@lucene.apache.org Subject: Re: Using Solrj First of all you need to index your data in Solr. I suggest DataImportHandler because it can help you join multiple tables and index data On Fri, Oct 31, 2008 at 10:20 AM, Raghunandan Rao

RE: Using Solrj

2008-10-30 Thread Raghunandan Rao
our database. But it all depends upon the problem you're trying to solve. But as Noble says, all this is too general to be really useful, you need to provide quite more detail about the problem you're trying to solve to get useful recommendations. Best Erick On Thu, Oct 30, 2008 at 8:5

RE: Using Solrj

2008-10-30 Thread Raghunandan Rao
, Raghunandan Rao <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to use Solrj for my web application. I am indexing a table > using the @Field annotation tag. Now I need to index or query multiple > tables. Like, get all the employees who are managers in Finance > depart

Using Solrj

2008-10-30 Thread Raghunandan Rao
Hi, I am trying to use Solrj for my web application. I am indexing a table using the @Field annotation tag. Now I need to index or query multiple tables. Like, get all the employees who are managers in Finance department (interacting with 3 entities). How do I do that? Does anyone have any ide