Skip to content

Commit

Permalink
Merged JoeZ99 fieldweights code
Browse files Browse the repository at this point in the history
  • Loading branch information
kurokikaze committed Oct 10, 2011
1 parent 789f820 commit c9ae7ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion limestone.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ exports.SphinxClient = function() {
}

request.push.int32(query_parameters.maxquerytime);
// per-field weights (preferred method)
// per-field weights (preferred method)
request.push.int32(Object.keys(query.fieldweights).length);
for (var field_name in query.fieldweights) {
request.push.lstring(field_name);
Expand Down

0 comments on commit c9ae7ad

Please sign in to comment.