Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Getting nothing! #28

Open
kevinjuliano1020 opened this issue Nov 13, 2018 · 0 comments
Open

Getting nothing! #28

kevinjuliano1020 opened this issue Nov 13, 2018 · 0 comments

Comments

@kevinjuliano1020
Copy link

kevinjuliano1020 commented Nov 13, 2018

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant