We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Correct Syntax For Search Methods
Simple Search : Exemple
chef.search("node", {q: "name:server1" }, function(err, res){ if (err){console.log(error);} else{console.log(res);} });
Partial Search : Exemple
chef.partialSearch("node", {q: "role:web"}, { name: ['name'] , 'ipaddress': ['ipaddress'] }, function(err, res){ if (err){console.log(error);} else{console.log(res);} });