This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Description
I am getting no results or returned value even errors. here's my code:
const SphinxClient = require('sphinxapi'),util = ('util'),assert = ('assert');
var cl = new SphinxClient();
cl.SetServer('localhost', 9300);
var q = "SELECT *,weight() as w from myindex where match('@find *test*') ORDER BY w DESC";
cl.Query(q, 'myindex', function(err, result){
console.log(result);
});
can someone help?