Skip to main content
All CollectionsEditor
Understanding the search syntax
Understanding the search syntax
Updated over 3 months ago

Understanding the search syntax

When searching Lingohub Text Manager, you can construct queries that match specific numbers and words. Some keys are available inside the Text Manager search panel:

Built-in queries:

  • General search β€” find the query inside the segments' text;

  • Key search β€” find the query inside the segments' keys;

  • ID search β€” find the query inside the segments' IDs;

  • Description search β€” find the segments where the description matches.

Qualifier

Example

in:key navigation

matches segments that have "navigation" in key

in:id:1

matches segments having the id 1

in:description test

matches segments that have "test" in description

But if you need to specify the search more, find the additional syntax below.

Negating the search

Most of the search syntax supports the prefix not: E.g., navigation not:in:key searches for all segments that don't have a key containing the text navigation.

Qualifier

Example

not:in:key navigation

matches segments that do not have "navigation" in key

Query for values greater or less than another value

( These modifiers are possible in in:id and createdAt.)

You can use >, >=, <, and <= to search for values that are greater than, greater than or equal to, less than, and less than or equal to another value. You can also use range queries to search for values that are greater than or equal to, or less than or equal to, another value.

Take a look at the example below.

Qualifier

Example

in:id>50

matches segments that have as id greater than 50

Query for values between a range

You can use the range syntax n..n to search for values within a range, where the first number n is the lowest and the second is the highest.

Query for dates

You can search for dates that are earlier or later than another date, or that fall within a range of dates, by using >, >=, <, <=, and range queries. Date formatting must follow the ISO8601 standard YYYY-MM-DD (year-month-day).

Qualifier

Example

createdAt:>2020-11-15

matches segments that were created after November 15, 2020.

updatedAt:>=2020-11-15

matches segments that were updated after November 15, 2020.

Search in projects and branches

Qualifier

Example

in:project:Rails/main

matches text segment which are in the project Rails and the branch with word "main".

Note: It is possible to search in multiple projects like in:project:Rails,Angular or in just the branch in:project:/main

Search by deleted and translatable

Qualifier

Example

is:translatable

matches segments which are translatable.

is:deleted

matches segments which are deleted.

Congratulations! You have finished the article about search syntax. We hope that it helped you find answers to all your questions. Otherwise, contact our support, and we will gladly help!

Did this answer your question?