elasticsearch,django-haystack,Django,elasticsearch,Django Haystack" /> elasticsearch,django-haystack,Django,elasticsearch,Django Haystack" />

Django refresh()得到了一个意外的关键字参数';指数';

Django refresh()得到了一个意外的关键字参数';指数';,django,elasticsearch,django-haystack,Django,elasticsearch,Django Haystack,我目前正在从事一个django项目,该项目使用Haystack/elasticsearch 我在windows上安装elasticsearch时遇到了很多麻烦,最后使用了以下设置: 通过对elasticsearch.bat进行一些调整,在运行bat文件后,它终于工作了 现在,我正在尝试在网站上注册一个用户,这会导致以下错误: refresh()获得意外的关键字参数“index” 在这方面: x:\development\xxxx\xxxx\src\django-haystack\haystack

我目前正在从事一个django项目,该项目使用Haystack/elasticsearch

我在windows上安装elasticsearch时遇到了很多麻烦,最后使用了以下设置:

通过对elasticsearch.bat进行一些调整,在运行bat文件后,它终于工作了

现在,我正在尝试在网站上注册一个用户,这会导致以下错误:

refresh()获得意外的关键字参数“index”

在这方面:

x:\development\xxxx\xxxx\src\django-haystack\haystack\backends\elasticsearch_backend.py in update

    174.self.conn.refresh(index=self.index_name)

在升级pyelasticsearch之前,我一直遇到相同的错误。这两个版本一起工作:

  • django_haystack-2.1.0
  • pyelasticsearch-0.6.1