In the Strings editor, users can search for the following entities:
-
Content
-
Key name
-
Uploads
Search functionality is available in the editor key list with two methods:
-
Search is performed using query language to enable more technical users to create complex queries in a single field.
-
Alternatively, the query builder enables to build a complex query by selecting search entities and applicable operators.
Note
Search by uploads and notifications is not supported in the query builder.
The main format for queries is search_entity:search term
.
Not all commands apply to every search entity.
In the query builder, the Contains (in) and Does not contain (not in) operators use the | (pipe symbol) as a divider between multiple search terms.
Search Rule |
Command |
Description |
---|---|---|
Contains |
search_entity:term |
Finds partial matches |
Does not contain |
-search_entity:term |
Excludes partial matches |
List - Contains |
search_entity:[term1,term2,term3] |
Lists search with inner OR operator |
List - Doesn't contain |
-search_entity:[term1,term2,term3] |
Excludes terms as list with inner OR operator |
Equals |
search_entity:"term" |
Finds exact search matches |
Empty |
search_entity:"" |
Searches for empty values |
Not empty |
-search_entity:"" |
Find keys with values |
AND |
space |
Combines queries with AND operator |
Starts with |
search_entity:term* |
Finds all keys where the respective entity starts with "term". The search term must be at least 3 characters long. |
Content search allows a general search within key content without using a specific keyword.
-
Wildcards are supported only at the end of the search term.
-
Wildcard queries require a minimum of 3 characters.
Search Rule |
Command |
Description |
---|---|---|
Contains |
content:hello content:"Hello*" content:["Hello*"] |
Finds keys containing "Hello" |
Does not contain |
-content:hello -content:"Hello*" -content:["Hello*"] |
Finds keys not containing "Hello" |
List |
content:[hello,work] |
Finds keys content with either hello OR work |
Equal (case sensitive) |
content:"Hello world" |
Finds key exactly matching "Hello world" |
Not equal (case sensitive) |
-content:"Hello world" |
Finds keys not exactly matching "Hello world" |
Empty |
content: content:"" content:[""] -content:"*" |
Finds keys with no content |
Not empty |
-content: -content:"" -content:[""] content:["*"] |
Finds keys with any content |
Starts with (wildcard, case sensitive) |
content:"Hello*" content:["Hello*"] |
Finds keys starting with “Hello” |
Multiple filters with AND or OR |
content:"lo wo*" content:["Hello*","World*"] |
Separate keywords are treated as having AND between them |
Search for multiple content |
content:"Hello*" content:"World*" |
Separate keywords are treated as having AND between them |
Advanced filters (contains "X" AND doesn't contain "Y") |
content:"Hello*" -content:["World*"] |
Separate keywords are treated as having AND between them |
Search by key allows to find keys based on their names.
-
The same commands and search rules available for content search apply to key search.
-
Wildcards are supported only at the end of the search term.
-
Wildcard queries require a minimum of 3 characters.
Important
The table below provides a selection of example commands. For a comprehensive list, refer to content search.
Search Rule |
Command |
Description |
---|---|---|
Contains |
key:hello |
Finds key names containing "Hello" |
Does not contain |
-key:hello |
Finds key names not containing "Hello" |
Empty |
key:"" |
Finds keys without name |
Not empty |
-key: |
Finds keys with any name |
Starts with (wildcard, case sensitive) |
key:"Hello*" |
Finds keys with name starting with “Hello” |
Search by tag allows finding keys based on the name of their associated tags.
Exclusions and queries with AND operator are not supported.
Search Rule |
Command |
Description |
---|---|---|
Contains |
tag:tag1 |
Finds keys having tag1 |
OR operator |
tag:tag1 tag:random-tag tag:[tag1,tag2] tag:random-tag |
Finds keys having either tag1 or random-tag Finds keys having either tag1 or tag2 or random-tag |
Custom metadata search allows searching by custom metadata properties and values.
-
Numbers, Date and Boolean types work only as exact matches.
-
Excluding key custom metadata values is not supported.
-
Custom metadata property with multiple words in the name must be put in quotation marks "". Example:
custom_metadata:"Copy status":Approved
-
Wildcards are supported only at the end of the search term.
-
Wildcard queries require a minimum of 3 characters.
Search Rule |
Command |
Description |
---|---|---|
Contains |
custom_metadata:Scene:Intro custom_metadata:Scene=Intro |
Finds keys with custom metadata Scene whose value contain "Intro" |
Equal (case sensitive) |
custom_metadata:Scene:”Intro” |
Finds key with custom metadata value exactly matching "Intro" |
Empty |
custom_metadata:Scene:”” custom_metadata:Scene:null |
Finds keys having custom metadata Scene with no value |
Starts with (wildcard, case sensitive) |
custom_metadata:Scene:Int* |
Finds keys with custom metadata Scene starting with “Int” |
Multiple filters with AND or OR |
custom_metadata:Scene:"credits" custom_metadata:Scene:["intro","ending"] |
Separate keywords are treated as having AND between them |
Search for multiple content |
custom_metadata:Scene:[intro,"credits"] |
Finds keys having custom metadata Scene with values either |
Advanced filters (contains "X" AND doesn't contain "Y") |
custom_metadata:Scene:"intro" custom_metadata:Scene:"credits" |
Separate keywords are treated as having AND between them |
Date values search |
custom_metadata:date_cmname>DD-MM-YYYY custom_metadata:date_cmname>=MM/DD/YYYY custom_metadata:date_cmname<DD-MM-YYYY custom_metadata:date_cmname<=DD-MM-YYYY |
|
Boolean values search |
custom_metadata:bool_cmname=t custom_metadata:bool_cmname=1 custom_metadata:bool_cmname=true custom_metadata:bool_cmname=yes |
Search by upload allows finding keys by upload IDs (e.g. 1dc43701212191febc38d45a011d9bb3).
Upload search works only as an exact match. Exclusions are not supported.
Search Rule |
Command |
Description |
---|---|---|
Equal |
upload:"someUploadID" |
Finds keys with upload ID exactly matching |
List |
upload:["UploadID2","UploadID3"] |
Finds keys with either UploadID2 OR UploadID3 |
Multiple filters with AND or OR |
upload:"UploadID1" upload:["UploadID2","UploadID3"] |
Separate keywords are treated as having AND between them |
Search for multiple uploads |
upload:"someUploadID" upload:"otherUploadID" |
Separate keywords are treated as having AND between them |