Coder Social home page Coder Social logo

Comments (9)

matteodem avatar matteodem commented on August 18, 2024

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.

geekyme avatar geekyme commented on August 18, 2024

yes I git cloned this example and uncommented the use line.

from easy-search-leaderboard.

matteodem avatar matteodem commented on August 18, 2024

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.

geekyme avatar geekyme commented on August 18, 2024

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.

matteodem avatar matteodem commented on August 18, 2024

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.

geekyme avatar geekyme commented on August 18, 2024

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.

matteodem avatar matteodem commented on August 18, 2024

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.

geekyme avatar geekyme commented on August 18, 2024

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.

matteodem avatar matteodem commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.