Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elasticsearch:Unknown command: 'search_index'

Hi I am trying to implement elasticsearch using django. I am following this tutorial

https://www.codementor.io/samueljames/using-django-with-elasticsearch-logstash-and-kibana-elk-stack-9l4fwx138

I am getting ,

Unknown command: 'search_index'

Type 'manage.py help' for usage.

when trying to create index using cmd

python manage.py search_index --rebuild

please help

like image 519
ashfak Avatar asked Jul 29 '26 00:07

ashfak


1 Answers

The issue could be not adding django-elasticsearch-dsl to INSTALLED_APPS in Django. (This is available in settings.py file)

like image 151
illiteratewriter Avatar answered Jul 31 '26 21:07

illiteratewriter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!