RE: What is proper way to re-init index?

2006-03-27 Thread John Mohr
March 27, 2006 12:42 PM To: solr-user@lucene.apache.org Subject: Re: What is proper way to re-init index? On 3/27/06, John Mohr <[EMAIL PROTECTED]> wrote: > So why wouldn't the "form" field be recognized? Your schema is correct, I tried it myself and it worked. My

Re: What is proper way to re-init index?

2006-03-27 Thread Yonik Seeley
rom: Yonik Seeley [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 27, 2006 10:17 AM > > To: solr-user@lucene.apache.org > > Subject: Re: What is proper way to re-init index? > > > > > > Hi John, > > > > The error message "undefined field form

Re: What is proper way to re-init index?

2006-03-27 Thread Yonik Seeley
chema.xml is your schema, and that you restarted the server so it would be re-read? -Yonik > -Original Message- > From: Yonik Seeley [mailto:[EMAIL PROTECTED] > Sent: Monday, March 27, 2006 10:17 AM > To: solr-user@lucene.apache.org > Subject: Re: What is proper way to

RE: What is proper way to re-init index?

2006-03-27 Thread John Mohr
correct. -Original Message- From: Yonik Seeley [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 10:17 AM To: solr-user@lucene.apache.org Subject: Re: What is proper way to re-init index? Hi John, The error message "undefined field form" means Solr doesn't know about

Re: What is proper way to re-init index?

2006-03-27 Thread Yonik Seeley
Hi John, The error message "undefined field form" means Solr doesn't know about the "form" field. Did you copy your schema.xml to the example/solrconf directory and restart the app server? I tried your schema and doc, and didn't get the error you did. I got an error further down due to and inval

RE: What is proper way to re-init index?

2006-03-27 Thread John Mohr
The problem script, schema.xml file and exception are in the attached file. Posting file new/howtocare2.xml to http://localhost:8983/solr/update undefined field formorg.xmlpull.v1.XmlPullParserException: expected START_TAG or END_TAG not END_DOCUMENT (position: END_DOCUMENT seen ...\n\

RE: What is proper way to re-init index?

2006-03-24 Thread Chris Hostetter
: After some fiddling around the base problem is that it takes my new schema, : implies that the update went fine, but it didn't. Of no great surprise, the : problem is that the schema for some reason doesn't match my data. It doesn't : write out any data. Reconfiging with the example (old) data (

RE: What is proper way to re-init index?

2006-03-24 Thread John Mohr
) data (and old schema) it writes it out just fine. Hmmm. It seems that further investigation is warranted. -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 3:33 PM To: solr-user@lucene.apache.org Subject: Re: What is proper way to re-init inde

Re: What is proper way to re-init index?

2006-03-24 Thread Chris Hostetter
: index to be more of what I'd like to see, generated my own xml files to : index, blew away the old index/directories, restarted with the new schema : file and it only creates the index and segment directories but not the : complete index. Luke tells me I have a corrupted index. What is the proper

Re: What is proper way to re-init index?

2006-03-24 Thread Bill Au
If you don't care about saving any data, you can just remove the index directory. Solr will create a new one if it does not already exist. You will need to repopulate your data. Bill On 3/24/06, John Mohr <[EMAIL PROTECTED]> wrote: > > I've been working with Solr for just a few days. Initially I

What is proper way to re-init index?

2006-03-24 Thread John Mohr
I've been working with Solr for just a few days. Initially I ran the exampldocs and things worked fine. I've now redefined the layout of the index to be more of what I'd like to see, generated my own xml files to index, blew away the old index/directories, restarted with the new schema file and it