Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redisearch

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redisearch - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

package.json

@@ -5,3 +5,3 @@ {

"description": "A plugin to search data with redis",
"version": "0.0.4",
"version": "0.0.5",
"repository": {

@@ -17,3 +17,3 @@ "type": "git",

"redis": "^0.12.1",
"async": "~0.9.0",
"async": "^1.4.2",
"natural": "^0.2.0"

@@ -20,0 +20,0 @@ },

@@ -6,7 +6,7 @@ # redis-search

Differences :
#### Differences :
query on extra fields
How to use :
#### How to use :

@@ -19,4 +19,6 @@ ```

Indexing: `postSearch.index(data, id, callback);`
#### Indexing:
`postSearch.index(data, id, callback);`
```

@@ -31,4 +33,6 @@ // index some stuff, the string field must be named `content` others can be anything

Search `postSearch.query(data, callback);`
#### Search
`postSearch.query(data, callback);`
```

@@ -40,4 +44,6 @@ postSearch.query({content: "orange", uid: 5, cid: 2}, function(err, ids) {

Remove from index: `postSearch.remove(id);`
#### Remove from index:
`postSearch.remove(id);`
```

@@ -48,3 +54,3 @@ postSearch.remove(3);

Other examples:
#### Other examples:

@@ -51,0 +57,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc