Skip to content

Commit

Permalink
fix typo in settings, bump elasticsearch-py version to 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
binoculars committed Nov 14, 2017
1 parent 93b585d commit 505bc7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ bleach==1.4.1
html5lib==0.999999999
blinker==1.4
furl==0.4.92
elasticsearch==1.3.0
elasticsearch==2.4.0
google-api-python-client==1.6.4
Babel==2.5.1
citeproc-py==0.4.0
Expand Down
2 changes: 1 addition & 1 deletion website/search/elastic_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def client():
settings.ELASTIC_URI,
request_timeout=settings.ELASTIC_TIMEOUT,
retry_on_timeout=True,
**settings.ELASIC_KWARGS
**settings.ELASTIC_KWARGS
)
logging.getLogger('elasticsearch').setLevel(logging.WARN)
logging.getLogger('elasticsearch.trace').setLevel(logging.WARN)
Expand Down
2 changes: 1 addition & 1 deletion website/settings/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def parent_dir(path):
ELASTIC_URI = 'localhost:9200'
ELASTIC_TIMEOUT = 10
ELASTIC_INDEX = 'website'
ELASIC_KWARGS = {
ELASTIC_KWARGS = {
# 'use_ssl': False,
# 'verify_certs': True,
# 'ca_certs': None,
Expand Down

0 comments on commit 505bc7c

Please sign in to comment.