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

Getting nothing! #28

@kevinjuliano1020

Description

@kevinjuliano1020

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions