![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
redisearch
Advanced tools
Index and search data in redis
Inspired by https://github.com/tj/reds
query on extra fields
var redisSearch = require('redisSearch');
var postSearch = redisSearch.createSearch('mypostsearch', [redisClient]);
postSearch.index(data, id, callback);
// index some stuff, the string field must be named `content` others can be anything
postSearch.index({content: 'ruby emerald', uid: 5, cid: 1}, 1, next);
postSearch.index({content: 'emerald orange emerald', uid: 5, cid: 2}, 2, next);
postSearch.index({content: 'cucumber apple orange', uid: 4, cid: 2}, 3, next);
postSearch.index({content: 'orange apple pear', uid: 5, cid: 4}, 4, next);
postSearch.index({content: 'dog cat', uid: 6, cid: 4}, 5, next);
postSearch.query(data, callback);
postSearch.query({ query: { content: "orange", uid: 5, cid: 2} }, function(err, ids) {
console.log(ids); // ["2"]
});
postSearch.remove(id);
postSearch.remove(3);
// search for ids where content contains `orange` and cid is 2 or 4
postSearch.query({ query: { content: "orange", cid: [2,4] } } , callback);
// search for ids where uid is 5 and return 3 results
postSearch.query({ query: { uid: 5 } }, 0, 2);
FAQs
A plugin to search data with redis
The npm package redisearch receives a total of 934 weekly downloads. As such, redisearch popularity was classified as not popular.
We found that redisearch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.