RE: Deleting indices

2008-11-27 Thread Raghunandan Rao
Yes, I am sure. Everytime I re-index, I do deleteByQuery("*:*") and then fetch the rows from DB and call server.addBeans(list). -Original Message- From: Mike Klaas [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2008 4:30 AM To: solr-user@lucene.apache.org Subject: Re

Re: Deleting indices

2008-11-27 Thread Mike Klaas
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=*&debugQuery=true Are you sure all the old doc

RE: Deleting indices

2008-11-27 Thread Raghunandan Rao
gar [mailto:[EMAIL PROTECTED] 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

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 Shalin Shekhar Mangar
dexing? > > -Original Message- > From: Shalin Shekhar Mangar [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 26, 2008 5:47 PM > To: solr-user@lucene.apache.org > Subject: Re: Deleting indices > > On Wed, Nov 26, 2008 at 5:01 PM, Raghunandan Rao < > [EMAIL

RE: Deleting indices

2008-11-26 Thread Raghunandan Rao
fields. My schema.xml file contains as I have said below. Is that because I have @Field annotation it is indexing? -Original Message- From: Shalin Shekhar Mangar [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 5:47 PM To: solr-user@lucene.apache.org Subject: Re: Deleting indices

Re: Deleting indices

2008-11-26 Thread Shalin Shekhar Mangar
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 when I try to search on non-indexed "name" field it is able to retr

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 Noble Paul നോബിള്‍ नोब्ळ्
name, deptid as fields. I need to update name field = > "new" where name="old". > > -Original Message- > From: Noble Paul നോബിള്‍ नोब्ळ् [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 26, 2008 3:56 PM > To: solr-user@lucene.apache.org > Subjec

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

Re: Deleting indices

2008-11-26 Thread Noble Paul നോബിള്‍ नोब्ळ्
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 the DB and then call deleteByQuery in Solrj and then update > particular index. What happens to deleteByQuery method if there are