If a search has no results, then we will get suggestions from Elasticsearch, re-query with the top suggestion, and return the results from that query along with the suggestion that was used. This change also changes search so that a document must match all terms to be included in the results instead of any term.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
abuse_spec.rb | Loading commit data... | |
comment_spec.rb | Loading commit data... | |
comment_thread_spec.rb | Loading commit data... | |
commentable_spec.rb | Loading commit data... | |
i18n_spec.rb | Loading commit data... | |
notifications_spec.rb | Loading commit data... | |
query_spec.rb | Loading commit data... | |
search_spec.rb | Loading commit data... | |
subscription_and_notification_spec.rb | Loading commit data... | |
user_spec.rb | Loading commit data... | |
vote_spec.rb | Loading commit data... |