Update README with detail on ELASTICSEARCH_FIELDS
This commit is contained in:
parent
8e73a32875
commit
1bcf43352b
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue