Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8426241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:29:33+00:00 2026-06-10T04:29:33+00:00

When I try python manage.py rebuild_index , error occur: self.conn.bulk_index(self.index_name, ‘modelresult’, prepped_docs, id_field=ID) AttributeError:

  • 0

When I try python manage.py rebuild_index, error occur:

self.conn.bulk_index(self.index_name, 'modelresult', prepped_docs, id_field=ID)   
AttributeError: 'ElasticSearch' object has no attribute 'bulk_index'

I found the link https://github.com/toastdriven/pyelasticsearch/blob/master/pyelasticsearch.py#L424-469 with pyelasticsearch.py, and I dont know which edition it is. Anyway there is bulk_index in that code, buy my pyelasticsearch.py is not.
Anyone has the same experience? thanks for ur time.

Plus:
django-haystack 2.0.0.beta, pyelasticsearch 0.0.6

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T04:29:35+00:00Added an answer on June 10, 2026 at 4:29 am

    Django-haystack will NOT work with original pyelasticsearch. You need to use toastdrivens’ fork instead: https://github.com/toastdriven/pyelasticsearch
    If you use pip, just type:

    pip uninstall pyelasticsearch
    pip install git+git://github.com/toastdriven/pyelasticsearch.git
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I try and run django, this is what I get: /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python manage.py runserver
When I try to run python manage.py test in my Django (1.4) project, I
I am a newbie at Django and everytime I try to run python panel/manage.py
Python is on version 2.7.3, but when i try to upgrade python through pip
I try to understand the regex in python. How can i split the following
I try to use doctest from example from http://docs.python.org/library/doctest.html But when I run python
Working with Python in Emacs if I want to add a try/except to a
Whenever I try the following in my python interpreter. I am able to copy
Whenever I try to use the python interpreter on windows, C:\path>pythonw.exe cubes.py <blank line>
I just started out with Python and wanted to try out tornado. Running the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.