Use case
Semantic Source Search
Use vector similarity for legislation, legislation articles, court decisions when the wording differs from the indexed text.
API example
Request
Result
Example{
"legislation": {
"results": [
{
"id": "example-result",
"sourceType": "law",
"title": "Example semantic source search result",
"jurisdiction": "ch",
"language": "en"
}
],
"pagination": {
"total": 1,
"limit": 10,
"offset": 0
},
"tookMs": 42
}
}Relevant source types
lawarticlecourt_decisionCommon filters
Combine text search with structured filters such as:
querysearchModejurisdictionregionsourceTypeslanguagepreferredLanguagedocumentTypestatusnumberarticleNumbersourceId