-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add example for multiple_searches in docs
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -238,4 +238,47 @@ dag: | |
emails: | ||
- [email protected] | ||
subject: "Teste do Ro-dou" | ||
``` | ||
### Exemplo 11 | ||
Esta configuração permite múltiplas buscas utilizando o mesmo arquivo. | ||
O Ro-dou permite numa mesma busca juntar resultados do DOU e Querido Diário. | ||
```yaml | ||
dag: | ||
id: multiple_searchs_example | ||
description: DAG de teste com múltiplas buscas | ||
search: | ||
- header: "Pesquisa no DOU" | ||
sources: | ||
- DOU | ||
terms: | ||
- dados abertos | ||
- governo aberto | ||
- lei de acesso à informação | ||
force_rematch: On | ||
ignore_signature_match: On | ||
- header: "Pesquisa no QD" | ||
sources: | ||
- QD | ||
terms: | ||
- dados abertos | ||
- governo aberto | ||
- lei de acesso à informação | ||
force_rematch: On | ||
ignore_signature_match: On | ||
- header: "Pesquisa no DOU e QD (misto)" | ||
sources: | ||
- DOU | ||
- QD | ||
terms: | ||
- dados abertos | ||
- governo aberto | ||
- lei de acesso à informação | ||
force_rematch: On | ||
ignore_signature_match: On | ||
report: | ||
emails: | ||
- [email protected] | ||
subject: "Teste do Ro-dou" | ||
``` |