Al - be sure to post this to JIRA so it can be tracked and not lost in email.


On Tue, Apr 21, 2009 at 4:09 PM, Alan Rykhus <> wrote:

In working with using POST's to fix long searches I found a bug in the
Solr.php file. In the function _call if there was an array of values for
a particular parameter name(ie. facets.field) in the params array when
using a POST method, only the last value was assigned to the parameter
name. The code looped through the values assigning them and overwriting
the previous value.

In looking at the Pear HTTP_Request addPostData function, I could see
that it handled an array of values for an individual parameter name. So
the fix was to strip out some code and let Pear handle it, assigning the
array to the particular named parameter.

I've attached a patch.

Alan Rykhus
PALS, A Program of the Minnesota State Colleges and Universities

Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32.
Vufind-tech mailing list