//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.project.repository/SegmentRepository/search
search
[jvm]
abstract suspend fun search(languageId: Int, baseLanguageId: Int = 0, filter: TranslationUnitTypeFilter = TranslationUnitTypeFilter.ALL, search: String? = null, skip: Int = 0, limit: Int = 0): List<SegmentModel>
Get all the segments corresponding to a set of search criteria.
Return
the list of matching segments
Parameters
jvm
languageId | Target language ID |
baseLanguageId | Source language ID |
filter | Message type filter |
search | Textual query (on the key, source text or target text) |
skip | offset for pagination |
limit | page size for pagination, if set to 0 pagination is ignored |