in Apache/Solr/Service.php
There are a couple places where we experienced problems because this $fieldBoost variable:
if ($fieldBoost !== false)
is NULL, so it passed the test and then when sent to Solr causes failure. Either there is a problem when setting the values, or possibly this check should be something more robust like:
if (is_numeric($fieldBoost))
Comment #1
Posted on Jan 28, 2009 by Grumpy Bearnote - this problem occurs with multi-value fields, not single value
Comment #2
Posted on Jan 28, 2009 by Grumpy BearComment deleted
- boost-multi-2.patch 1.03KB
Comment #3
Posted on Jan 28, 2009 by Grumpy BearThis diff shows our current work-around.
- boost-multi-2.txt 1.03KB
Comment #4
Posted on Jan 29, 2009 by Happy BirdCan you see if my recent commit http://code.google.com/p/solr-php-client/source/detail?r=5 is adequate?
Comment #5
Posted on Jan 29, 2009 by Quick GiraffeIt worked well for me. I was able to index using it without error.
Comment #6
Posted on Mar 9, 2009 by Grumpy Bearr5 has been working fine for us, so I think this issue is fixed.
Comment #7
Posted on Mar 12, 2009 by Happy BirdStatus: Verified
Labels:
Type-Defect
Priority-Medium