# Supported Search Syntaxes
Currently the plugin does not support every search syntax of Craft. Here is a list of supported syntaxes:
Searching for… | will find elements… | Is supported by the plugin? |
---|---|---|
salty | containing “salty”. | yes |
salty dog | containing both “salty” and “dog”. | yes |
salty OR dog | containing either “salty” or “dog” (or both). | yes |
salty -dog | containing “salty” but not “dog”. | yes |
"salty dog" | containing the exact phrase “salty dog”. | yes |
body:salty | where the body field contains “salty”. | yes |
body:salty body:dog | where the body field contains both “salty” and “dog”. | yes |
body:salty OR body:dog | where the body field contains either “salty” or “dog”. | yes |
body:salty -body:dog | where the body field contains “salty” but not “dog”. | yes |
body:"salty dog" | where the body field contains the exact phrase “salty dog”. | yes |
body::salty | where the body field is set to “salty” and nothing more. | no |
body::"salty dog" | where the body field is set to “salty dog” and nothing more. | no |
# Wildcard syntax
Searching for… | will find elements… | Is supported by the plugin? |
---|---|---|
*ty | containing a word that ends with “ty”. | yes |
*alt* | containing a word that contains “alt”. | yes |
body:*ty | where the body field contains a word that ends with “ty”. | yes |
body:*alt* | where the body field contains a word that contains “alt”. | yes |
body::salty* | where the body field begins with “salty”. | no |
body::*dog | where the body field ends with “dog”. | no |
body:* | where the body field contains any value. | yes |
-body:* | where the body field is empty. | yes |
# Searching for Specific Element Attributes
Serach for specific element attributes (even from plugins) is supported.