Advanced Search Syntax | ArabGameDev
Skip to content

Advanced Search Syntax

Documentation for getting started with the new version of Unreal Engine

Advanced Search Syntax

Search your content in the “ Content Browser ” using advanced syntax. Advanced Search Syntax supports complex queries, asset-metadata key-value searches, and access to special key values.

Syntax Reference #

The following operators are available:

 
Operator (Type) Syntax Description Example
Equal (binary) = == : Tests whether the value returned for a key equals the specified value. Name="Blast" Name==Blast Name:Bla...
NotEqual (binary) != !: Tests whether the value returned for a key differs from the specified value. Name!=Blast Name!:"Blast"
Less (binary) < Tests whether the value returned for a key is less than the specified value. Numeric values only. Triangles<92
LessOrEqual (binary) <= <: Tests whether the value returned for a key is less than or equal to the specified value. Numeric values only. Triangles<=92 Triangles<:92
Greater (binary) > Tests whether the value returned for a key is greater than the specified value. Numeric values only. Triangles>92
GreaterOrEqual (binary) >= >: Tests whether the value returned for a key is greater than or equal to the specified value. Numeric values only. Triangles>=92 Triangles>:92
Or (binary) OR || | Tests two values and returns  trueif either evaluates to true. Blast OR Type:Blueprint !Blast || Path:Testing Name:"Blast" | Path:Testing...
And (binary) AND && & Tests two values and returns trueif both evaluate to true. Blast AND Type:Blueprint !Blast || Path:Testing Name:"Blast" | Path:Testing...
Not (pre-unary) NOT ! Tests the following value and returns its inverse. NOT Blast ! "Blast"
TextCmpInvert (Pre-Unary) - Modifies a text value to invert the result of the operation in which it participates. -Blast -"Blast"
TextCmpExact (pre-unary) + Modifies a text value to perform an exact text comparison. +Blast +"Blast"
TextCmpAnchor (pre-unary) ... Modifies a text value to perform an “ends with” comparison. ...ast ..."ast"
TextCmpAnchor (Post-Unary) ... Modifies a text value to perform a “starts with” comparison. Bla... "Bla"...

Special Keys #

Most searchable keys come from asset metadata extracted from the Asset Registry. Several special keys exist for all asset types. These support only Equaland NotEqualcomparison operators.

 
Key Alias Description
Name -- The asset's name.
Path -- The asset's path.
Class Type The asset's class.
Collection Tag Names of collections containing the asset.

Strings #

Strings can be unquoted or enclosed in single or double quotation marks. Quoted strings may contain nested quotes, which must be escaped with a backslash (\). Quoted strings allow spaces and special characters in search terms. By default, they perform partial matches unless TextCmpExact or  TextCmpAnchor changes the behavior.

Examples of single quotes, double quotes, and backslashes:

“Foo\”bar” -> Foo“bar

‘Foo\’bar’ -> Foo’bar

“Foo\’bar” -> Foo’bar

‘Foo\”bar’ -> Foo”bar

“Foo\\bar” -> Foo\bar

‘Foo\\bar’ -> Foo\bar

A backslash (\) must itself be escaped with another backslash.

Asset Metadata #

Hover over an asset's name in the Content Browser to display its metadata. These values can be used as operator arguments. 

Different asset types may expose different metadata. Static Mesh metadata differs from Skeletal Mesh metadata, for example. Use this metadata to test search results.

[Metadata Name] [Operator] [String or Numeric Value]

[Metadata Name] [Operator] [String or Numeric Value]

Triangles>=10500 Type==SkeletalMesh UVChannels>2 CollisionPrims!=0

Metadata names are case-insensitive and must not contain spaces. For example, use MorphTarget for Morph Target.

Basic Search Example #

A basic search takes a metadata item and uses an operator to test it against a string or value.

For example, find assets containing more than 1,500 triangles.

Triangles>1500

Or search for a particular asset type.

Type==Blueprint

Advanced Search Examples #

Using AND, ORand NOToperators, test multiple searches at once. For example, find assets using a translucent material with the Default Lit shading model.

BlendMode==Translucent AND ShadingModel==DefaultLit

Using ANDoperator, both the blend-mode and shading-model tests must return True to display a result. With the ORoperator, either test can return True independently, so not every translucent material in the results necessarily uses Default Lit. In complex searches, operators of the same type combine together. Parentheses remove ambiguity when different operator types are used. For example, evaluate two searches: the first tests for a translucent, Default Lit material.

BlendMode==Translucent AND ShadingModel==DefaultLit

The second tests for a deferred-decal material that does not use Scene Color.

MaterialDomain==DeferredDecal AND HasSceneColor==False</span>

Use parentheses to evaluate the results of both searches.

(BlendMode==Translucent AND ShadingModel==DefaultLit) OR (MaterialDomain==DeferredDecal AND HasSceneColor==False)

Using ORoperator between the groups, each asset is tested and results appear when either group returns True. With the ANDoperator, all four tests must return Trueto display any results.

Legacy Behavior #

For compatibility with the existing simple search syntax, spaces in an unquoted search string insert an implicit ANDoperator at each space. For example, one twoperforms the same search as “ one AND two” because the ANDoperator is inserted implicitly.

Was this documentation helpful?
Updated on May 13, 2022

Build your next game