Understanding the search syntax
When searching Lingohub, you can construct queries that match specific numbers and words.
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.
Query for values greater or less than another value
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.
These modifiers are possible in in:id and createdAt
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).
Use quotation marks for queries with whitespace
If your search query contains whitespace, you must surround it with quotation marks. For example:
cats NOT "hello world" matches repositories with the word "cats" but not the words "hello world."
build label: "bug fix" matches issues with the word "build" that has the label "bug fix."
Some non-alphanumeric symbols, such as spaces, are dropped from code search queries within quotation marks so that results can be unexpected.
Search by the key, description, or content
matches segments that have "navigation" in the key
Negating the search in:key
matches segments that do not have "navigation" in key
matches segments that have "test" in description
Negating the search in:description
matches segments that do not have "test" in description
matches segments that have "Lingohub" in text
This modifier should occur only once. Only the first one will be used if it is added multiple times in the text. Further, the free search text will be taken from the whole query, e.g., this will be searched in:key but also this text.
Search by id
n:id matches segments having the id 1
It is possible to use closed ranges like in:id:1..10 and less/greater like in:id:>=5
Search in projects and branches
matches text segment which are in the project Rails and the main branch.
It is possible to search in multiple projects like in:project:Rails,Angular or in just the branch in:project:/main
Search by status
Possible values: not_translated, prefilled, draft, translated, approved
matches text segment which are in the draft status.
Search by deleted and translatable
matches segments which are translatable.
matches segments which are deleted.
Search by created at and updated at
matches segments that were created after November 15, 2020.
matches segments that were updated after November 15, 2020.
Search by label
matches segments which have the label blue attached.
Qualifier “and” allow to concatenate multiple values and extend the search syntax.
matches segments that have Id between 2 and 5, and contain the word “user.”