Re: inconsistency in SolrParams.get()

2010-05-12 Thread Chris Hostetter
: this test fails for requests built from a SimpleRequestParser or : StandardRequestParser where the parameter "key" was given, but empty ( e.g. : localhost:8393/select/?key=ΒΆ1=val1&parm2=val2 ). : : The reason is that oas.request.ServletSolrParams returns null for values with : length() == 0, :

inconsistency in SolrParams.get()

2010-05-04 Thread Frank Wesemann
Dear list, I recently stumpled upon this: modifiableParams = new ModifiableSolrParams( req.getParams() ); assert modifiableParams.get("key").equals( req.getParams().get("key") ); this test fails for requests built from a SimpleRequestParser or StandardRequestParser where the parameter "key" wa