Code Monkey home page Code Monkey logo

Comments (5)

Sivli-Embir avatar Sivli-Embir commented on May 17, 2024

Worth notting that I will likely be using ether elastic-search or mongo-db.

from meteor-easy-search.

matteodem avatar matteodem commented on May 17, 2024

Thank you! You can enhance your search with a filter by providing a query property, as seen here https://github.com/matteodem/meteor-easy-search#createsearchindexname-options.

Will you use elastic search OR mongo-db? With mongo-db it expects a selector object (http://docs.meteor.com/#selectors) and with elastic search a query object (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-queries.html)

from meteor-easy-search.

Sivli-Embir avatar Sivli-Embir commented on May 17, 2024

Oh, OH! Yes thats what I wanted. I saw that before but I did not make the link up with EasySearch.changeProperty.

Ok follow up, is there a way to limit the result fields? I only need name and _id from my documents. This could pull down MBs of data if left as is. I am searching over literal documents.

from meteor-easy-search.

Sivli-Embir avatar Sivli-Embir commented on May 17, 2024

Ach still having a problem with this. Is there any way to access properties set by EasySearch.changeProperty in the permission argument from EasySearch.createSearchIndex? I will also need the userId.

from meteor-easy-search.

matteodem avatar matteodem commented on May 17, 2024

It's actually missing for both of them, but it would be as easy as adding a fields property where you can define those needed (like here http://docs.meteor.com/#find, see "fields"). I'll create an enhancement ticket for it.

Are you changing properties in our permission argument? Can you please create a new github ticket with a code example in there? I'll also be probably adding some new functions for filter / faceting management + a section in the README

from meteor-easy-search.

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.