Update README with detail on ELASTICSEARCH_FIELDS
This commit is contained in:
parent
8e73a32875
commit
1bcf43352b
|
@ -248,6 +248,12 @@ In your Realms Config, have the following options set:
|
||||||
"SEARCH_TYPE": "elasticsearch"
|
"SEARCH_TYPE": "elasticsearch"
|
||||||
"ELASTICSEARCH_URL": "http://127.0.0.1:9200"
|
"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
|
### Whoosh Setup
|
||||||
|
|
||||||
Simply install Whoosh to your Python environment, e.g.
|
Simply install Whoosh to your Python environment, e.g.
|
||||||
|
|
Loading…
Reference in a new issue