Commit graph

10 commits

Author SHA1 Message Date
Simon Edwards 8e73a32875 Make Elasticsearch searched fields configurable
This allows fields stuch as "content" to be searchable when using Elasticsearch
Add config item ELASTICSEARCH_FIELDS, list of fields to search.
Defaults to just "name" to preserve existing behaviour
Available fields are:
- "name"
- "username"
- "content"
- "message"
2015-07-24 13:29:24 +01:00
Fabian Schlager a8f61dfb13 Clean up & fix index creation, handling exceptions 2014-11-21 17:11:27 +01:00
Fabian Schlager 6ec3ff6acb Remove fuzzy search, needs some tweaking probably 2014-11-21 16:47:50 +01:00
Fabian Schlager e1aa96ea5f Check if WHOOSH_INDEX path is read & writeable 2014-11-21 16:47:50 +01:00
Fabian Schlager db1f5c84a7 Add fallback for non-supported languages & search in path and text 2014-11-21 16:47:50 +01:00
Fabian Schlager 06a5cd5aef Initial version of whoosh based search 2014-11-21 16:47:50 +01:00
Matthew Scragg b757ceff57 made simple search suck less 2014-11-12 22:11:13 -06:00
Matthew Scragg 08a4c71c10 search pass three 2014-11-12 17:06:56 -06:00
Matthew Scragg 13d4be8937 search pass two 2014-11-11 17:06:28 -06:00
scragg 312c61ef61 search module, wip 2014-11-10 10:54:46 -06:00