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 contains the form field. -Yonik On 3/27/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: > 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 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-init index? > > > > > > 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 invalid date format (see schema.xml > > comments for date type for the correct format). > > > > -Yonik > > > > (the weird stack trace showing an XML parsing error is due to Solr > > trying to continue on to the next document even though the first had > > an error... and it looks like this part of the code could use a little > > work). > >