[[help:search]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

help:search [2016/12/15 10:46]
scotty created
help:search [2023/02/16 17:24] (current)
scotty
Line 22: Line 22:
  
   * ''[[https://www.ozbargain.com.au/search/node/chocolate+created:20160207-20160214|chocolate created:20160207-20160214]]'' searches any mention of **chocolate** in nodes posted during the 7 days prior to Valentine's Day 2016.   * ''[[https://www.ozbargain.com.au/search/node/chocolate+created:20160207-20160214|chocolate created:20160207-20160214]]'' searches any mention of **chocolate** in nodes posted during the 7 days prior to Valentine's Day 2016.
 +
 +**''created:<duration>''**
 +
 +Search nodes created in the last x days, weeks, months or years. ''<duration>'' is expected to be a number + suffix, where suffix can be either **d** (days), **w** (weeks), **m** (months) or **y** (years). For example,
 +
 +  * ''[[https://www.ozbargain.com.au/search/node/iphone+created:3w|iphone created:3w]]'' searches any mention of **iphone** in the last 3 weeks.
  
 **''domain:<domain>''** **''domain:<domain>''**
Line 35: Line 41:
   * ''option:freebie'' would only search through the deals marked as Freebie.   * ''option:freebie'' would only search through the deals marked as Freebie.
   * ''option:titleonly'' would match keywords in the node title only, i.e. will not search the node content and comments.   * ''option:titleonly'' would match keywords in the node title only, i.e. will not search the node content and comments.
 +
 +**''sort:<type>''**
 +
 +Change how the search result will be sorted.
 +
 +  * ''sort:default'' would sort the result by relevancy.
 +  * ''sort:created'' would sort the result by the post date in reverse chronological order.
 +  * ''sort:changed'' would sort the result by the last comment date in reverse chronological order.
  
 **''tag:<stub>''** **''tag:<stub>''**
Line 41: Line 55:
  
   * ''[[https://www.ozbargain.com.au/search/node/microwave+tag:sharp%2Csamsung|microwave tag:sharp,samsung]]'' searches **microwave** in nodes that are tagged with either Sharp and Samsung.   * ''[[https://www.ozbargain.com.au/search/node/microwave+tag:sharp%2Csamsung|microwave tag:sharp,samsung]]'' searches **microwave** in nodes that are tagged with either Sharp and Samsung.
-  * ''[[https://www.ozbargain.com.au/search/node/motorola+cat:mobile+tag:black-friday|motorola cat:mobile tag:black-friday]]'' searches **motorolla** in deals that are in Mobile category and tagged with "Black Friday" (which is an event tag).+  * ''[[https://www.ozbargain.com.au/search/node/motorola+cat:mobile+tag:black-friday|motorola cat:mobile tag:black-friday]]'' searches **motorola** in deals that are in Mobile category and tagged with "Black Friday" (which is an event tag).
  
 **''type:<type>''** **''type:<type>''**
Line 71: Line 85:
  
   * ''option:titleonly'' would match keywords in the private message subject only, i.e. will not search the message content and replies.   * ''option:titleonly'' would match keywords in the private message subject only, i.e. will not search the message content and replies.
 +
 +===== Exclusions =====
 +
 +Placing a minus sign in front of a keyword to exclude nodes that contain that keyword. For example
 +
 +  * ''[[https://www.ozbargain.com.au/search/node/xiaomi%20-android|xiaomi -android]]'' searches all the pages containing "xiaomi" but does not contain "android"
 +
 +Some filter options can also take a minus sign for exclusions. For example
 + 
 +  * ''[[https://www.ozbargain.com.au/search/node/pixel%20phone%20-domain%3Aofficeworks.com.au|pixel phone -domain:officeworks.com.au]]'' searches all the pages containing "pixel phone" but exclude ones linked to Officeworks store.