[[help:search]]
Searching on OzBargain
You can search nodes (deals, competitions & forum posts), private messages and wiki pages on OzBargain using the search input box. It generally takes a list of keywords, although syntax for special operations are slightly different for different searches.
Searching Nodes
https://www.ozbargain.com.au/search/node
cat:<stub>
Search deals only in specific categories defined by <stub>, which is automotive for Automotive, computing for Computing, fashion-apparel for Fashion & Apparel, etc. It's basically the last part of URL path for category pages. Use CSV to search across multiple categories.
- free udemy cat:educationsearches free udemy courses in Education category.
category:<tid>
Search only in specific taxonomy IDs. Not that useful if you don't know the numeric ID of taxonomy terms.
created:<date>
Search nodes created on a certain date or a date range. A date can be specified with a 8 digital number YYYYMMDD. A date range can be specified with 2 8 digital numbers joined by a hyphen, i.e. YYYYMMDD-YYYYMMDD, and it would search from the beginning (12AM) of the first date to the end (11:59PM) of the second date.
- chocolate created:20160207-20160214searches 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,
- iphone created:3wsearches any mention of iphone in the last 3 weeks.
domain:<domain>
Search nodes that are linked with specific domain / store. Note that <domain> has to be a proper domain name rather than a hostname. So to search Harvey Norman uses domain:harveynorman.com.au rather than domain:www.harveynorman.com.au.
- professionals domain:harveynorman.com.au type:forumsearches the term professionals in forum posts that are linked to Harvey Norman.
option:<options>
Extra options to be passed to the search engine. Currently:
- option:freebiewould only search through the deals marked as Freebie.
- option:titleonlywould 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:defaultwould sort the result by relevancy.
- sort:createdwould sort the result by the post date in reverse chronological order.
- sort:changedwould sort the result by the last comment date in reverse chronological order.
tag:<stub>
Search nodes only linked to specific tags defined by <stub>, which is the last part of URL path for tag, event, product and brand pages. Use CSV to search across multiple tags.
- microwave tag:sharp,samsungsearches microwave in nodes that are tagged with either Sharp and Samsung.
- motorola cat:mobile tag:black-fridaysearches motorola in deals that are in Mobile category and tagged with “Black Friday” (which is an event tag).
type:<type>
Search only in specific node type, where <type> can be either ozbdeal for deals, forum for forum topics, competition for competitions and classified for classified ads. Use CSV for searching across multiple types.
- xbox one type:forumsearches xbox one only in forum posts.
- iphone type:competition,classifiedsearches iphone in both classified & competition nodes.
user:<uid>
Search nodes that have been posted by a specific user defined by <uid> which can be a CSV of numeric ID for that user. To find a user's uid, you can go to that user's profile page and the numeric value in the URL is that user's uid on the system.
- ssd type:ozbdeal user:158680searches all the ssd deals posted by user “lyl”.
Search Private Messages
https://www.ozbargain.com.au/search/privatemsg
You can only search the private messages that you are participating.
from:<uid>
Search private messages that were sent by a specific user defined by <uid> which is the numeric ID for the user. It can be a CSV to include multiple users. You can go to that user's profile page and the numeric value in the URL is that user's uid on the system.
option:<options>
Extra options to be passed to the search engine. Currently:
- option:titleonlywould 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
- xiaomi -androidsearches all the pages containing “xiaomi” but does not contain “android”
Some filter options can also take a minus sign for exclusions. For example
- pixel phone -domain:officeworks.com.ausearches all the pages containing “pixel phone” but exclude ones linked to Officeworks store.
