我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

尝试重新索引()时Algolia错误

I'm using the PHP version of AlgoliaSearch with a laravel 5.2 installation.

I created a command I can run to reindex the data I have for one model. It works perfectly on some other but it seems that one has a problem.

When I try to run

\App\Models\User::reindex();

I get this exception :

AlgoliaSearch\AlgoliaException: cannot move with a master/slave index as source

I guess there is a problem with the way I configured my index and its slaves but I have no clue on that.

Does someone has more info please ?

近期文章

  • 当我添加ajax代码时,错误不计算点击次数
  • 结合来自多个API的数据
  • PHP:如何将xml参数发布到api?
  • Backbone写入JSON
  • 使codeigniter以正确的方式猜测$ baseurl
  • Laravel RedirectResponse with()方法不起作用
  • 访问父类的随机值
  • 无法使用codeigniter与node.js连接
  • 在PHP中将大对象数组声明为javascript参数
  • 我试图在变量中存储几列并显示在表中,但它给出了错误
  • 通过PHP脚本提供的图像在浏览器中显示良好,但在电子邮
  • $ .post到phpMailer失败了
  • authorize.net - 在Sandbox帐户中进行交易
  • 如何使用php mysql从数据库到listview的过滤数据?
  • mysqldump dumping pivot table ...比x_id IN(id's)更好的东西?
  • 使用参数调用php脚本并在viewbag中设置结果
  • 如何获取登录用户名?
  • 测量课堂上的功能之间的时间?
  • PHP标签嵌套在If语句中?
  • 未捕获的异常:无法打开文件

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华