Re: svn commit: r542461 - in /lucene/solr/trunk/src/java/org/apache/solr: schema/IndexSchema.java update/DirectUpdateHandler.java update/UpdateHandler.java

2007-05-29 Thread Chris Hostetter
: Now, the only status codes set in SolrExceptions are valid HTTP status codes: : 500 : 400 : 503 : 404 should we deprecate the current SolrException constructor and add one that uses an enumeration of legal HTTP status codes ... that way we can eventually eliminate the current usage of int

Re: svn commit: r542461 - in /lucene/solr/trunk/src/java/org/apache/solr: schema/IndexSchema.java update/DirectUpdateHandler.java update/UpdateHandler.java

2007-05-29 Thread Ryan McKinley
Chris Hostetter wrote: : Now, the only status codes set in SolrExceptions are valid HTTP status codes: : 500 : 400 : 503 : 404 should we deprecate the current SolrException constructor and add one that uses an enumeration of legal HTTP status codes ... that way we can eventually eliminate

Re: svn commit: r542461 - in /lucene/solr/trunk/src/java/org/apache/solr: schema/IndexSchema.java update/DirectUpdateHandler.java update/UpdateHandler.java

2007-05-29 Thread Chris Hostetter
: should we deprecate the current SolrException constructor and add one that : uses an enumeration of legal HTTP status codes ... that way we can : eventually eliminate the current usage of int and get compile time : assurances that we only generate legal HTTP status codes. : : : I like