: Wow, i had completley forgotten that SolrException contained an HTTP
: status code.

Hmmm... acctually, the javadocs for SolrException are a little vague on
the meaning of "code" and there are at least a few places where it's set
to a value that is not a legal HTTP status code...

./src/java/org/apache/solr/schema/IndexSchema.java:      throw new 
SolrException(1,"Schema Parsing Failed",e,false);
./src/java/org/apache/solr/schema/IndexSchema.java:      throw new 
SolrException(1,"analyzer without class or tokenizer & filter list");
./src/java/org/apache/solr/schema/IndexSchema.java:       throw new 
SolrException(1,"TokenizerFactory must be specified first in analyzer");
./src/java/org/apache/solr/schema/IndexSchema.java:    throw new 
SolrException(1,"undefined field "+fieldName);
./src/java/org/apache/solr/update/DirectUpdateHandler.java:    if (idField == 
null) throw new SolrException(2,"Operation requires schema to have a unique key 
field");
./src/java/org/apache/solr/update/DirectUpdateHandler.java:    if (idField == 
null) throw new SolrException(2,"Operation requires schema to have a unique key 
field");
./src/java/org/apache/solr/update/UpdateHandler.java:          throw new 
SolrException(1,"error parsing event listevers", e, false);
./src/java/org/apache/solr/update/UpdateHandler.java:          throw new 
SolrException(1,"error parsing event listeners", e, false);

...plus one instance in DateField i'm about to change for SOLR-71.




-Hoss

Reply via email to