Open saerdnaer opened 8 years ago
Maybe switching/add an option to switch from multi_match
to simple_query_string
is also an valid idea. compare https://www.elastic.co/guide/en/elasticsearch/reference/2.0/full-text-queries.html
see #42
So we now use https://github.com/elastic/elasticsearch-rails and have to find the corresponding config file which was formerly https://github.com/voc/media-search-prototype/blob/master/server/search.pl#L34-L105
TODO: expose query string, cf. https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html
since https://github.com/voc/media-search-prototype/commit/3e585c4a6b72959c92fdd240b92405372d262be0 the media.ccc.de search prefers matches which match all the search terms, which is actually the best way for most cases.
In some rare changes it would be nice if the user could switch back to the old method, e.g. when a want a list of all talks given by a speaker, which uses two different names for nicknames.
Such search request could look like
nick OR surname
.