All docs
This doc
Function |
|
---|---|
Description | Returns the number of records which matches the given search query. |
Output | The number of records in the ‘message’ element within the argument of the success callback. |
var queryInfo = { tableName : "SampleTable", searchParams : { query : <lucene-query> } }; client.searchCount(queryInfo, function(data) { console.log (data["message"]); }, function(error) { console.log("error occured: " + error); });
3