Sam
8a792508e9
PERF: improve offset discovery query
2016-08-12 14:36:38 +10:00
Robin Ward
431c211ec2
Bump search post id cache to 1 week
2016-08-11 14:06:07 -04:00
Robin Ward
35922bf692
Use `unscoped` instead of `with_deleted`
2016-08-11 13:12:59 -04:00
Robin Ward
7e165d031b
FIX: Short terms will be searched for if at least one is long enough
2016-08-11 11:53:14 -04:00
Robin Ward
4bb6f88181
FIX: Bump up backfill size to 50
2016-08-10 17:51:29 -04:00
Robin Ward
c1cd9e0647
PERF: For estimates, we don't need to worry about deleted
2016-08-10 17:25:34 -04:00
Robin Ward
fc311dbe3b
FEATURE: An option to search more recent posts for very large sites.
...
On very large forums searching posts can be slow, so this commit
introduces the ability to try and search only the most recent posts
first, and then going for a larger breadth search if there aren't
enough results.
Enable `search_prefer_recent_posts` and you can customize how many
recent posts to filter with `search_recent_posts_size`
2016-08-10 15:43:42 -04:00
Robin Ward
cc366d5a60
FIX: Search in non-english should have a smaller minimum
2016-08-09 15:20:28 -04:00
Robin Ward
28436a604a
FIX: Prevent tricking the search from ignoring minimum lengths
2016-08-09 14:49:46 -04:00
Robin Ward
c1125c8649
PERF: Use simpler serializer for search, eager load post users
2016-08-09 14:49:46 -04:00
Sam
e01802a13b
FIX: strip quote from search term when searching within topic
2016-07-25 15:06:25 +10:00
Robin Ward
b9df18360d
If you search a category by id, also include its children
2016-06-08 13:50:52 -04:00
Arpit Jalan
a166869d67
FEATURE: search fallback to tags when category not found
2016-06-02 18:14:41 +05:30
Neil Lalonde
f13470b96b
Use db schema for tags instead of plugin store and custom fields
2016-05-26 14:29:48 -04:00
Arpit Jalan
5b030017d9
FEATURE: new search filter in:wiki
2016-05-13 13:56:53 +05:30
Arpit Jalan
00893ef1de
FEATURE: new search filter - @username
2016-05-12 14:26:26 +05:30
Arpit Jalan
2e0350ee74
FEATURE: new search filter - #category-slug
2016-05-11 15:37:27 +05:30
Mittineague
66fb02acad
Permit in topic search when full name is null ( #4217 )
...
* Permit in topic search when full name is null
* as per @gschlager and @ZogStriP pull 4217
2016-05-09 22:20:35 +02:00
Neil Lalonde
e5918c7d00
FEATURE: Merge tagging plugin into core
2016-04-27 11:58:53 -04:00
Sam
77242e4680
FEATURE: in:pinned and in:unpinned search filters
2016-03-18 16:26:54 +11:00
Sam Saffron
e00850a1ab
FEATURE: implement before and after filters in search remove max_age and min_age
...
supports
- before:monday
- after:june
- before:2001
- before:2001-01-22
2016-03-14 23:27:02 +11:00
Sam Saffron
4be8de21a1
FIX: not searching group messages when searching private
2015-12-15 13:26:35 +11:00
Sam
f74a6457ee
FEATURE: allow CJK to be tokenized in non CJK sites.
...
Meaning a mixed English/Chinese site can still have a functioning search.
2015-11-27 16:35:27 +11:00
Régis Hanol
8ba5397f0d
can't find staged users with search
2015-11-18 21:06:59 +01:00
Régis Hanol
7e255a151b
PERF: only use fulltext when searching for a user (I checked, it's enough)
2015-11-04 23:04:37 +01:00
Régis Hanol
bb79e6aff7
FEATURE: new hide_user_profiles_from_public site setting
2015-10-28 19:56:08 +01:00
Robin Ward
46bef4fad0
FIX: Allow mods/admins to search whispers
2015-09-25 11:43:04 -04:00
Sam
61ceaef4e5
FIX: allow ordering for term-less queries
2015-09-21 07:59:52 +10:00
Sam
681334701d
FIX: Stop aggregating likes
2015-09-18 17:50:15 +10:00
Sam
664e2209e5
FIX: order latest was broken
2015-09-18 17:16:53 +10:00
Robin Ward
23646494eb
FIX: Don't return alternative post types in search queries
2015-09-16 14:51:20 -04:00
Sam
a7b34cd16b
rename to badge, better more consistent name
2015-09-16 08:51:28 +10:00
Sam
6496895096
FEATURE: search for all posts by a group
2015-09-15 17:39:14 +10:00
Sam
17d999ab12
FEATURE: search for all posts of users that have a badge
...
with_badge:"badge name" will allow you to search only
posts of users with a particular badge
2015-09-15 17:22:08 +10:00
Sam
b38a1309f7
FIX: add more quoting to avoid invalid terms
2015-08-19 09:27:47 +10:00
Sam
ad2de1804e
Correct bad where clause when no category/user found
2015-08-14 11:53:16 +10:00
Sam
ecac786f86
FIX: remove invalid chars from ts_query helper
2015-08-13 17:55:10 +10:00
Sam
139314c213
FIX: search for 1.5 etc was broken
...
FEATURE: search by exact phrase
Use PG tokenizer to split up search phrase instead of relying on Ruby code
This produces much more accurate tokenization
2015-08-10 17:41:14 +10:00
Sam
41ceff8430
UX: move search to its own route
...
previously search was bundled with discovery, something that makes stuff confusing internally
2015-07-27 16:47:06 +10:00
Sam
4a5a2d869e
FEATURE: search by user id or category id
...
FIX: more search results work if you open in new tab
FIX: carry context to full page search
2015-07-10 16:31:28 +10:00
Sam
9a23a0bbbd
FEATURE: topic:TOPIC_ID to search within topic
2015-06-26 17:47:20 +10:00
Sam
853553f329
FIX: in:bookmarks searching deleted bookmarks
2015-06-23 13:58:23 +10:00
Sam
63351d5629
FEATURE: in:first for searching first post
2015-06-23 13:39:40 +10:00
Sam
e85df6b876
FEATURE: min_age and max_age search operators
2015-06-23 13:21:50 +10:00
Sam
13f1f90c67
REFACTOR: search improved so filters are extensible
...
- added posts_count filter
- fixed it so you can search with a filter only
2015-06-23 12:14:06 +10:00
Sam
41e427bd2e
Work in progress, full page search
2015-06-22 18:09:08 +10:00
Régis Hanol
c89bef2762
FIX: proper regex for search terms
2015-05-06 19:58:29 +02:00
Sam
451788b95d
FIX: allow searching in PMs when "search this topic" is selected
2015-02-19 12:56:49 +11:00
Sam
bfa96811c1
remove leftover code
2015-02-05 11:54:25 +11:00
Sam
16465edd88
FEATURE: search your bookmarks using in:bookmarks
2015-02-05 11:50:20 +11:00