lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: What is proper way to re-init index?
Date Mon, 27 Mar 2006 18:41:39 GMT
On 3/27/06, John Mohr <> 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?


> -----Original Message-----
> From: Yonik Seeley []
> Sent: Monday, March 27, 2006 10:17 AM
> To:
> 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).

View raw message