Matt Jankowski
937dad1ee6
Extract ES query and filter hashes into private methods in `TagSearchService` ( #29288 )
2024-02-20 10:08:32 +00:00
Matt Jankowski
668a19a2f3
Fix Performance/DeletePrefix cop ( #24796 )
2023-05-02 21:07:45 +02:00
Claire
bf1c7e2122
Ensure exact match is the first result in hashtag searches ( #21315 )
...
Fixes #17494
2022-12-15 18:41:40 +01:00
Eugen Rochko
ab33c4df94
Add `exclude_unreviewed` param to `GET /api/v2/search` REST API ( #11977 )
...
Make it so normal search returns even unreviewed matches, but
autosuggestions do not.
Fix #11960
2019-09-28 01:02:21 +02:00
Eugen Rochko
2f90a38f44
Fix unreviewed hashtag not being found by exact case-insensitive match ( #11976 )
2019-09-27 19:40:26 +02:00
Jeong Arm
00d7bdcc2a
Fix search error when ElasticSearch is enabled but not available ( #11954 )
...
* Fallback to Database search when ES not available
* Prevent double work if ES gives 0 result
* Apply suggestion from code review
2019-09-26 18:06:08 +02:00
Eugen Rochko
cc0a55cf9a
Add more accurate hashtag search ( #11579 )
...
* Add more accurate hashtag search
Using ElasticSearch to index hashtags with edge n-grams and score
them by usage within the last 7 days since last activity. Only
hashtags that have been reviewed and are listable can appear in
searches, unless they match the query exactly
* Fix search analyzer dropping non-ascii characters
2019-08-18 03:45:51 +02:00