meteor-easy-search

    2热度

    1回答

    您好我使用matteodem:Meteor的easy-search软件包。现在我分块我的成绩进入size Template.UserList.helpers({ users: function() { all = Meteor.users.find().fetch(); chunks = []; size = 3; while (all.lengt

    0热度

    1回答

    有没有办法向集合添加或注入额外的或新的字段,然后能够将新插入的字段访问到集合上客户端并显示在模板上或访问它,而不会影响服务器端?我不想与API或数据库妥协,因为它只是一些东西的计数,就像客户总共交付8次时一样。 我在做这个代码在那里我订阅集合,然后尝试更新客户端的集合,但很明显,我应该有更新它没有权利: Meteor.subscribe("all_customers", function() {

    0热度

    1回答

    我想根据这里的文档过滤收集传递给easysearch的返回对象[http://matteodem.github.io/meteor-easy-search/docs/recipes/][1]。这应该仅基于登录的userId来过滤和返回记录。它返回这个错误的Id错误..我不知道它到底从哪里得到id,因为登录用户的userId与它所搜索的不同。请帮忙。 这是easysearch设置 // Client

    0热度

    2回答

    我的目标是在Urigo的meteor-angular2.0示例中使用ElasticSearch(请参阅下面的链接)。 为此,我尝试在我现有的基于https://github.com/Urigo/meteor-angular2.0-socially的项目中使用easysearch:elasticsearch包。 我使用meteor add easysearch:elasticsearch后,如果我尝

    0热度

    1回答

    我有以下两个模式, Schema.extraOptions = new SimpleSchema({ name: { type: String }, content: { type: String }, note: { type: String } }); var wordFields = { _id: { type: Strin

    0热度

    2回答

    我只是试图在Meteor中设置一个基本的搜索工具来查找我的MongoDB集合中的文章,但我正在努力让自己站起来(如果有人有一个很好的教程替代搜索工具,我愿意提供建议)。 我在easy:search然而一个段落解决,因为它似乎是一个简单的搜索工具来获得运行,到他们getting started instructions,我已经得到一个错误: ReferenceError: Index is not