Commit 943234be by Oleg Marshev

Add es to dev settings.

parent 70d57d9f
import annotator
from annotator import es
from .common import *
......@@ -9,3 +10,14 @@ ELASTICSEARCH_INDEX = 'edx-notes-dev'
# Overwrite default annotator-store elasticsearch settings.
es.host = ELASTICSEARCH_URL
es.index = ELASTICSEARCH_INDEX
# Number of rows to return by default in result.
RESULTS_DEFAULT_SIZE = 25
# Max number of rows to return in result.
RESULTS_MAX_SIZE = 250
# Override default annotator-store elasticsearch settings.
es.host = ELASTICSEARCH_URL
es.index = ELASTICSEARCH_INDEX
annotator.elasticsearch.RESULTS_MAX_SIZE = RESULTS_MAX_SIZE
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