Comments (5)
right right. We should lazy-create the reds connection in Kue, then you can override exports.createClient
from reds.
Yep. You can do something like:
var client = redis.createClient(port, host);
client.auth(password, function() {
reds.client = client; // <- This is where you specify which client reds will use.
var search = reds.createSearch('namespace');
...
});
Correct, @visionmedia?
from reds.
@gtramontina Yes, that works great when using reds without kue, perhaps this issue belongs on kue's tracker then? The connection for reds is hardcoded to be local host in kue.
from reds.
yeah we have this issue open in kue
from reds.
Maybe @gtramontina sample could go in the Readme documentation.
from reds.
Related Issues (20)
- Unicode support for search and index HOT 1
- Upgrade to Natural 0.1.17
- intersection results, or operator not applied HOT 4
- Latest Merge for multiple keywords is not published on npm
- add option to ignore phonetics functionality HOT 2
- Not
- Not Returning Results HOT 1
- Crash with exports.stripStopWords
- 'or' documentation incorrect. HOT 1
- Help with alternative data storage HOT 1
- Can't install reds on windows 8 HOT 1
- Can reds support fuzzy searching? HOT 2
- Install Error HOT 2
- unpin dependencies HOT 2
- Towards a pluggable Reds HOT 2
- Advanced search HOT 2
- How do I point to the redis server? HOT 1
- Parallel createSearch HOT 1
- [stockholmux/redredisearch] Parallel createSearch
- 0.1.3 doesn't install on Node.js 0.8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reds.