-
Notifications
You must be signed in to change notification settings - Fork 20
SetFieldWeights broken, or am I using it incorrectly. #9
Comments
Hey thanks for the quick response! But
Should be
TO for(k in o) { |
you found an mistake in the foreach wrapper... I inverted the arguments of the callback. I 'll fix all the bugs as soon as possible |
EDIT: SORRY! I was wrong , it is working. Just that the results are not in the order that I expected. I hate being a bother, but I think it still could be broken. SetFieldWeights doesn't seem to have any effect. Could you please look into this . Thanks Here's my code btw: |
Sorry, I forgot to change a line. it was fixed with this commit : b3ca39e. https://github.com/touv/node-sphinxapi-test/blob/master/query.js I compare the result with NodeJS's API and the official PHP's API. It looks the same. https://github.com/touv/node-sphinxapi-test/blob/master/query.php Tell me, if I can close this issue ? |
This throws the error: AssertionError: "undefined" == "object"
in line ../node_modules/sphinxapi/lib/sphinxapi.js:315:9)
This is the code. I think I notice a couple of mistakes there...
Please have a look. Thanks
The text was updated successfully, but these errors were encountered: