Comments (9)
I'm not getting it locally (the ECONNREFUSED error). Have you simply checked out the repository and uncommented the 'use' line?
Also note that searching with mongo-db is case sensitive at the moment (peter won't return the same results as Peter).
from easy-search-leaderboard.
yes I git cloned this example and uncommented the use line.
from easy-search-leaderboard.
So, I tried to grep for elastic search instances locally, http://i.gyazo.com/870014a6d1f842bf22c48bd16e8cccdc.png. Then running the server resulted in this: http://i.gyazo.com/64aacadd9d76d9ad23ea38430cf2cb50.png. No errors, whatsoever.
Please re-open this ticket when you have any way of showing me what exactly is happening.
from easy-search-leaderboard.
I think you misunderstood what I was pointing out. I don't have elastic search so I am trying to use the package without elastic search. As directed in your README, I typed 'use mongodb' but I'm still getting that ECON error
from easy-search-leaderboard.
Yes, that's also how I understood it.
The grep for elastic search (screenshot 1) showed that no elastic search process was running locally. So, there wass no Elastic Search Server which could have been connected to. Then I ran the project with the 'use' : 'mongo-db'
statement and it worked without any problems (screenshot 2).
It's really weird and I can't think of anything additional to replicate what you are experiencing. Going into what OS you're using won't help probably.
I assume you are using the latest version of easy-search (mrt update) on Meteor 0.8.
from easy-search-leaderboard.
hey it works now after i downgrade and upgrade meteor again on this sample project.
I'm now able to see how this package works thanks! Very cool. Do you throttle the keyup events to fireup only after a certain time period (so that the server do not get overloaded with search requests)?
from easy-search-leaderboard.
Nice! That sounds like a funny way of fixing the problem :)
The Blaze Components use a little timeout mechanism that only fires after a little delay. Yeah it's because of not overloading the requests to the Elastic Search Server / Mongo DB Collection.
If you want to change the timeout though you can with {{> esInput timeout=0 ...}}
. Have fun with the package! Feedback is always welcome
from easy-search-leaderboard.
Yeah I think maybe there was a small bug that only was fixed when meteor runs rebuild-all as it updates.
By the way do I have to write any publications for this package to be able to search my documents?
from easy-search-leaderboard.
yeah, it doesn't auto create any subscriptions, publications so when you give the user to access to a certain set of data it'll only search through those.
from easy-search-leaderboard.
Related Issues (20)
- Using In-Memory collection instead of Session HOT 3
- Error cloning project with meteorite HOT 6
- Empty search result. Can't get full list back HOT 3
- getting error HOT 2
- Adding score to search HOT 1
- Doesn't work in Safari
- Functional tests
- Autosuggest redraw HOT 1
- Pagination not reset after changing points HOT 4
- Adding sorting options in the example HOT 2
- using mongo and ES? HOT 1
- Test with Elasticsearch HOT 11
- Is it possible to override one query parameter from the server? HOT 1
- Rewrite example with 1.2 leaderboard example
- Restrict access to not logged in users
- Update to latest meteor version HOT 2
- Uncaught TypeError: _easySearch.MongoDBEngine is not a constructor HOT 2
- Example requires "random" package HOT 1
- "Match error: Expected Collection", path: ""
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 easy-search-leaderboard.