Merge pull request #66 from darkindex/elasticsearch-fields

Make Elasticsearch searched fields configurable
This commit is contained in:
Matthew Scragg 2015-07-24 12:30:17 -07:00
commit a721de26b6
3 changed files with 12 additions and 3 deletions

View file

@ -99,6 +99,7 @@ SEARCH_TYPE = 'simple' # simple is not good for large wikis
# SEARCH_TYPE = 'elasticsearch'
ELASTICSEARCH_URL = 'http://127.0.0.1:9200'
ELASTICSEARCH_FIELDS = ["name"]
# SEARCH_TYPE = 'whoosh'
WHOOSH_INDEX = '/tmp/whoosh'