lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
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 <jtmohr@healthconresources.com> 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:yseeley@gmail.com]
> 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).
>

Mime
View raw message