On 3/22/07, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:
Ok, I looked at the source and see that it returns true or false on an
add/update. That definitely helps. I guess I'm surprised that in the
Solr console I don't see any error messages like "Hey idiot, you
haven't defined that field in your schema.xml, so I can't index the
document!"


I totally agree... i also spent a lot of time tracking this down.

If you are using: apache-solr-1.2-dev.jar

You can add:

 <requestHandler name="/update"    class="solr.XmlUpdateRequestHandler" />

to solrconfig.xml.  Then you will get proper response codes and the
exceptions will be logged.

ryan

Reply via email to