Like this (add some suggestions and additions in the comments however you want):
"Hello"
- Returns results with only the word “hello”"Hello World"
- Returns results with only the phrase “hello world”
case:on
- enable case sensitive searchnsfw:no
- Do not show NSFW postsnsfw:yes
- Show only NSFW posts
community:<community
- If .com>instance.com
is not provided, it returns the search results from a community from the current instance. Otherwise, it returns the community from the hosted instance: e.g:community:hello .itjust.works
instance:instance.com
- returns results from a specific instance.- If
instance:instance.com community:community
, then search community from that specified instance.
- If
before:yyyy-mm-dd
- Returns results from before a date.after:yyyy-mm-dd
- Returns results from after a date.
- “-” before a phrase, keyword,
community:community .com
,instance:instance.com
, Excludes them from the results. Phrases like “hello world” should have the dash prefixed like this:-"hello world"
. Examples:- For words and phrases:
cyberpunk -2077
- Returns post/comments with the keyword “cyberpunk” but not “2077”-"hello world"
Removes posts/comments containing “hello world” from the search results
- For communities:
-community:hello
,-community:[email protected]
- For instances:
-instance:my.instance.com
- For words and phrases:
About brackets in community:
, instance:
- Used to select multiple communities and instances (separated with a comma or semicolon), for example
community:{philippines@lemmy.world,memes@lemmy.ml} hello -world
- Returns search results only from communitiesphilippines@lemmy.world
andmemes@lemmy.ml
with the keyword “hello
” and excludeworld
from post/comment results-instance:{instance1.com,instance2.com,instance3.nft} community:{memes@lemmy.ml} hello -world
- Exclude instancesinstance1.com
,instance2.com
,instance3.nft
, show post/comments from communitymemes@lemmy.ml
. Exclude posts/comments containing “world
”.
Here is my example usage:
Say you want to search memes@lemmy.ml
for "hello world"
:
community:memes@lemmy.ml "hello world"
Shows results from memes@lemmy.ml
with only the phrase "hello world"
You must log in or register to comment.
Did you receive any feedback on this? I can’t seem to use search properly and can’t find what the syntax is.