Update README with detail on ELASTICSEARCH_FIELDS

This commit is contained in:
Simon Edwards 2015-07-24 13:43:22 +01:00
parent 8e73a32875
commit 1bcf43352b
1 changed files with 6 additions and 0 deletions

View File

@ -248,6 +248,12 @@ In your Realms Config, have the following options set:
"SEARCH_TYPE": "elasticsearch"
"ELASTICSEARCH_URL": "http://127.0.0.1:9200"
Optionally, also set the following option to configure which fields are searchable:
"ELASTICSEARCH_FIELDS": ["name"]
Allowable values are `"name"`, `"content"`, `"username"`, `"message"`. The default is `["name"]`.
### Whoosh Setup
Simply install Whoosh to your Python environment, e.g.