Hi all,

I have deleted manually the courseware_index.

 curl -XDELETE http://localhost:9200/courseware_index

*How to recreate courseware_index again?* Was not able to find the code for 
recreating courseware_index in the edx_search app and platform.

Reindexing existing courses is giving me below error :
==> /edx/var/log/supervisor/cms-stderr.log <==
    return func(*args, params=params, **kwargs)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/client/indices.py",
 
line 231, in get_mapping
    params=params)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/transport.py",
 
line 274, in perform_request
    status, headers, data = connection.perform_request(method, url, params, 
body, ignore=ignore)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py",
 
line 55, in perform_request
    self._raise_error(response.status, raw_data)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/connection/base.py",
 
line 83, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, 
error_message, additional_info)
NotFoundError: TransportError(404, 
u'TypeMissingException[[courseware_index] type[course_info] missing]')


Thanks
Avadhut




-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/b3239528-ff65-462d-aeef-9d1958b9daf5%40googlegroups.com.

Reply via email to