Commit b8349632 by Oleg Marshev

Allow changing ES host and index.

parent 3dd08461
from django.conf import settings
from annotator import es
es.host = getattr(settings, 'ELASTICSEARCH_URL', 'http://localhost:9200')
es.index = getattr(settings, 'ELASTICSEARCH_INDEX', 'edx-notes')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment