在Algolia的文档中,node.js的一部分,他们指定要使用MySQL索引,但不MongoDB中,我有一个关于这个问题的另一个问题,但它更是一个普遍的问题,check here 有些人问我使用mongo-connector但试过了,我得到了一些未知的错误,这让我到了第一个 我真正的问题是,我如何迭代mongodb到阿尔戈利亚的集合列表? 这是Algolia在Node.js的 var _ = r
当我尝试使用JavaScript客户端 我得到 Invalid setting for restrictSearchableAttributes, attribute "field" is not in attributesToIndex
使用 restrictSearchableAttributes
但是我使用Laravel包保存和我已经设置字段为attributesToIndex吗?
我们使用Algolia作为我们的搜索引擎。 在一个索引中,我们有一个属性:contract.monthDuration,其中包含整数。 我用下面的数字滤波器的成功: "contract.monthDuration:0 to 3"
但我无法使用类似 "contract.monthDuration:0 to 3" OR "contract.monthDuration:4 to 6"
我曾尝试:
在Ruby中使用Algolia on Rails的,我可以很容易地指数模型: class Service < ActiveRecord::Base
include AlgoliaSearch
algoliasearch per_environment: true do
attributesToIndex ['name', 'canonical_url']