search
Find passages in every document Ecuadorian public institutions publish. Start every question here.
query: words or a question, best in Spanish, as the documents are ("inversión extranjera en
minería", "Decreto Ejecutivo 489", "Art. 15 Ley de Minería"); English works less well. Filters,
each one value or several comma-separated, all optional: family (a publisher key from
catalog, e.g. 'registro_oficial'), kind (the kind the publisher printed, e.g. 'resolución',
or a normalised one: ley, codigo, reglamento, decreto, resolucion, acuerdo, ordenanza,
sentencia...), category (normativa | comunicacion | otros), sector (a sector of catalog
such as 'ley' or 'local', or an economic one such as 'mineria'), topic (e.g.
'inversion_extranjera', 'tributario'), published_from / published_to (ISO dates or years),
document_id (search inside one document), sort (relevance | newest), limit (<= 20, default 8).
Returns results: each a passage, verbatim, with id (the passage id, for fetch),
document_id, title, instrument, publisher, family, kind, published, url, page,
heading and text (<= 1,200 chars); Court rulings also have abstract when their
Court-written Resumen is present. facets counts the documents of the wider candidate set
by family, kind and year: search again with one of them as a filter to narrow. Next: fetch
the two or three best results; quote with title, page and url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| sort | No | relevance | |
| limit | No | ||
| query | Yes | ||
| topic | No | ||
| family | No | ||
| sector | No | ||
| category | No | ||
| document_id | No | ||
| published_to | No | ||
| published_from | No |