title: error rebuilding the index using django-elasticsearch-dsl
body: <p>I am trying to connect to a existing index in my local elastic search engine.
  I am using django-elasticsearch-dsl  package. I followed this tutorial to do that. <a href="https://github.com/sabricot/django-elasticsearch-dsl" rel="nofollow noreferrer">https://github.com/sabricot/django-elasticsearch-dsl</a></p>
  
  <p>please note that,I already developed my django app[website] with mysql database. I have some unstructured text data indexed in elastic-search. I want to develop this 'advanced search'  HTML page for users querying data frpm elasticsearch.</p>
  
  <p>I followed almost everything upto 
  <code>python manage.py search_index --rebuild</code> but once I excute it it asked Are you <code>sure you want to delete the 'website_data_discovery' indexes? [n/Y]:</code> when I say <code>n</code> it will be aborted.
  when I say <code>Y</code> it gives a lengthy error saying <code>django.db.utils.ProgrammingError: Table 'crdc.website_data_discovery' doesn't exist</code></p>
  
  <p>This is my file structure.</p>
  
  <pre><code>crdc
  website 
           -&gt;__pycache__
           -&gt;  media
           -&gt;migrations
           -&gt;static
           -&gt;templates
           -&gt;__init__.py
           -&gt;admin.py
           -&gt;apps.py
           -&gt;documnets.py
           -&gt;forms.py
           -&gt;models.py
           -&gt;tests.py
           -&gt;urls.py
           -&gt;views.py
  manage.py
  </code></pre>
  
  <p>This is my settings.py/crdc.</p>
  
  <pre><code>###more codes here
  INSTALLED_APPS = [
      'website.apps.WebsiteConfig',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'django_elasticsearch_dsl',
  
  ]
  
  ELASTICSEARCH_DSL={
      'default': {
          'hosts': 'localhost:9200'
      },
  }
  ###more codes here
  </code></pre>
  
  <p>This is documents.py/website</p>
  
  <pre><code>from django_elasticsearch_dsl import DocType, Index
  from .models import Data_Discovery
  
  data_discovery = Index('website_data_discovery')
  data_discovery.settings( number_of_shards = 5, number_of_replicas = 1,)
  
  @data_discovery.doc_type
  class Data_DiscoveryDocument(DocType):
      class Meta:
          model = Data_Discovery
          fields = ['extracted_text',  'source_type']
  </code></pre>
  
  <p>this is models.py/website</p>
  
  <pre><code>from django.db import models
  
  class WebsiteRepository(models.Model):
   ##### mysql model 
  
  class Documents(models.Model):
   #### mysql model
  
  class Data_Deposite(models.Model):
  #### mysql model
  
  
  class Data_Discovery(models.Model):
  ## Elasticsearch model 
  </code></pre>
  
  <p>Any help would be greatly appreciated. Thanks</p>