Entering the search query
Number | Description |
---|---|
1 |
Write the query which items do you want to display. The grammatically correct query is automatically colored by black, otherwise by red. |
2 |
Click for clearing of the already written query. |
3 |
Open the query grammar help how to write the grammatically correct query. For closing click to the middle of open hints. |
4 |
Expand for the list of previous already sent queries. |
5 |
Send the query. As the Content Manager requests the HighTec Cloud, the processing of every query depends on your Internet connectivity. |
Filtering search results
Number | Description |
---|---|
1 |
Write the filter keyword which you are interested in. The filter is automatically applied as you are writing therefore no confirmation is necessary. |
2 |
Click to X for clearing of the already written filter. |
Simple mode
In the Simple mode, you may enter queries based on specific bare words you are interested in. Simple mode entries are case insensitive, but the query expression supports only the limited character set: sequences of a-z
, A-Z
, 0-9
and _
, -
, including space. As you type, the syntax of your query is evaluated. If the expression text becomes red, the syntax is incorrect and the button is not available.
For example, type spc57 mcal
to return any database record containing at least one of the words spc57 or mcal in any of the relevant fields.
You may also search for a specific exact phrase, by enclosing the expression into the quotes " "
. Typing
"startup example"
returns all the database records containing exactly the phrase startup example including spaces. Word boundaries are not relevant in this case.
You may also use &&
(AND) or ||
(OR) logical operators between the words, including parentheses ( )
to construct more restrictive queries. For example:
"bsp example" && (tc29 || tc39)
returns all the records containing the exact phrase bsp example and at least one of the tokens tc29 or tc39.
Note,
the ||
(OR) logical operator is the default relation between the query tokens so you may omit it by default. The query expression bsp example
is thus the same as the bsp || example
.
Advanced queries
The Advanced query mode is an extension of the Simple query mode with several keywords. These enable you to perform more specific search queries. You enter the Advance query mode by starting the query expression with the double double-colon ::
prefix. Keyword arguments are case insensitive unless you are explicitly told otherwise.
Keyword | Description |
---|---|
tag |
Search for tokens matching exactly one of the Tags column records. You cannot use wildcards. |
name |
Search for tokens in the Resource Name columns. You may use Begin With and Contains wildcards. |
device |
Search for tokens matching records in the Device column. You may use Begin With and Contains wildcards. |
abstract |
Search for tokens matching records in the Description column. You may use Begin With and Contains wildcards. |
The Advanced query syntax is a simple keyword == "string match token"
statement or multiple such statements that you can separate by logical operators &&
(AND) or ||
(OR) including parentheses to define evaluation preference.
The string token must exactly match with the database record specified by the keyword to yield a search hit. For most of the keywords, however (see the previous table), you may use Begin With or Contains wildcards to broaden the matching scope of the query:
-
Begin With
matches the records specified by the keyword that begins with the provided string token. You can use it by terminating the string token with*
(asterisk) character. For example:device == "tc27*"
-
Contains
matches the records that contain provided string token anywhere in the field specified by the keyword. By enclosing the string token between*
(asterisk) characters put the wildcard in effect. For example:abstract == "*multicore*"
You may see typical usage in the following examples.
Return all the records where Device column starts with tc27 token:
:: device == "tc27*"
Return all the records that belong under the autosar tag group:
:: tag == "autosar"
Search for records having users guide string anywhere in the Resource name column:
:: name == "*users guide*"
Return all the records that are marked with both aurix and example tags:
:: tag == "aurix" && tag == "example"
You may construct also more complex expressions. We are going to leave translation of this one in the kind hands of a witty reader:
:: device == "tc27*" && tag == "mcal" && (abstract == "*stepper motor*" || abstract == "*motor control*")