InvalidJsonResponseError when rebuild_index on heroku

I just started using elasticSearch with my django project deployed on
heroku.
I am using SearchBox addon. I did as mentioned in the document to set
things up.
But when running "heroku run python manage.py rebuild_index"

I get the following exception:
pyelasticsearch.exceptions.InvalidJsonResponseError

Any Idea what is the problem ??

--

Hi Salma,

There isn't any real way we can help you without information about your
Elasticsearch setup, any error logs you're seeing on the Elasticsearch
side, information about what you're indexing, your mappings etc. If you
can give us some more information we'll try to help.

Alternatively, it also looks like you're getting a pyelasticsearch
exception which maybe related to that library, so maybe raise the issue
with them?

On Wednesday, November 14, 2012 8:04:32 AM UTC+13, Salma Hamed wrote:

I just started using elasticSearch with my django project deployed on
heroku.
I am using SearchBox addon. I did as mentioned in the document to set
things up.
But when running "heroku run python manage.py rebuild_index"

I get the following exception:
pyelasticsearch.exceptions.InvalidJsonResponseError

Any Idea what is the problem ??

--

Hi All,

It was a bug at SearchBox side. Refresh request was returning an invalid
json, fixed.

Also manage.py rebuild_index command deleting the index and sending a bulk
request without creating an index. SearchBox does not supports auto index
creation at bulk requests.
So creating index via dashboard or API then using "heroku run python
manage.py update_index" works better.

Regards,
Ferhat

www.searchbox.io

On Wednesday, November 14, 2012 12:53:37 AM UTC+2, Chris Male wrote:

Hi Salma,

There isn't any real way we can help you without information about your
Elasticsearch setup, any error logs you're seeing on the Elasticsearch
side, information about what you're indexing, your mappings etc. If you
can give us some more information we'll try to help.

Alternatively, it also looks like you're getting a pyelasticsearch
exception which maybe related to that library, so maybe raise the issue
with them?

On Wednesday, November 14, 2012 8:04:32 AM UTC+13, Salma Hamed wrote:

I just started using elasticSearch with my django project deployed on
heroku.
I am using SearchBox addon. I did as mentioned in the document to set
things up.
But when running "heroku run python manage.py rebuild_index"

I get the following exception:
pyelasticsearch.exceptions.InvalidJsonResponseError

Any Idea what is the problem ??

--