From 1bcf43352b6c4895818996c802d5ba1a747eea70 Mon Sep 17 00:00:00 2001 From: Simon Edwards Date: Fri, 24 Jul 2015 13:43:22 +0100 Subject: [PATCH] Update README with detail on ELASTICSEARCH_FIELDS --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index c367ebd..f223cb2 100644 --- a/README.md +++ b/README.md @@ -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.