lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <ryan...@gmail.com>
Subject Re: svn commit: r542461 - in /lucene/solr/trunk/src/java/org/apache/solr: schema/IndexSchema.java update/DirectUpdateHandler.java update/UpdateHandler.java
Date Tue, 29 May 2007 18:30:55 GMT
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 the current usage of "int" and get compile time
> assurances that we only generate legal HTTP status codes.
> 

I like that... but i'd like to see solr1.2 out first ;)

Mime
View raw message