doc_asof
Edition: pro ragraf_doc_asof
Search across documents valid on a date (the validity interval)
Parameters
| Name | Type | Default |
|---|---|---|
| query | str | required |
| date | str | required |
| limit | int | 20 |
| kind | str | None | None |
| with_text | bool | True |
| text_width | int | 240 |
Call example
ragraf -p config/ragraf.yaml query doc_asof <query> <date>
Angle brackets mark a required parameter; defaults may be omitted.
What it returns
The answer is assembled by the operation and described by the envelope.
When it refuses
An empty result is exit code 0 with found=false, not an error. Code 3 is returned only when the operation cannot run right now: for example slice when capability is not full. The reason is always named in the note field.