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-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: To cluster, or not to cluster...

2006-03-27 Thread Clay Webster
Jason, I'm not following why you suggesting having multiple masters (and updating multiple masters). I can see an advantage and lots of disadvantages. What is the problem you're suggesting this could address? --cw

Re: Multiple updates possible?

2006-03-27 Thread Clay Webster
Further, I'd discourage anyone from using NFS for their read/write index location. I don't know about Windows either, but I'd think there could be similar non-atomic issues with windows fileshares. That's even in the case where you have one RW and the others are reads. --cw On 3/24/06, Chris Hos

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

2006-03-27 Thread John Mohr
So why wouldn't the "form" field be recognized? It's in the schema (immediately after "ref"). In the meantime I'll play around with date. The comments say it should be: "2006-03-27T12:36:00Z". Unless I hear otherwise I'll assume that's correct. -Original Message- From: Yonik Seeley [mailto

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

2006-03-27 Thread Yonik Seeley
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 best guess is that Solr isn't actually reading your schema.xml, but the example one. Are you sure solrconf/schema.xml is your schema, and t

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

2006-03-27 Thread Yonik Seeley
The easiest way to verify that you are using your schema is to go to the admin page and check out the schema name... it should say "Solr Admin (trial1)" at the top of the page. You can also click on the schema link to see the contents of the schema file and verify that it's the most recent and con

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

2006-03-27 Thread John Mohr
I was about to respond saying yes, I know it is correct, but it turns out that while I had changed the solrconf directory, I hadn't restarted Jetty that picks it up. After doing so, it worked fine. Thanks. -Original Message- From: Yonik Seeley [mailto:[EMAIL PROTECTED] Sent: Monday, March

Re: To cluster, or not to cluster...

2006-03-27 Thread jason rutherglen
Hi Clay, The question was: "Hi Jason, Would that not mean if one of the master indexes went down then a subset of data would be offline? Rob." I think if you wanted to run redundant masters (for some reason unknown at this time) this might be one solution. Possibly if you had multiple data c

Rsync

2006-03-27 Thread jason rutherglen
I was thinking, would it not be possible to avoid using rsync and record a list of all new segment files added (from within Lucene), and simply use HTTP to sync down the newest ones? Perhaps only using rsync after an optimize? Seems like if I understand Lucene correctly only new files are crea