added 'apply_regex' rule, see at #26322#note-2

This commit is contained in:
Francesco Mangiacrapa 2024-01-09 12:49:44 +01:00
parent c8a75ed10b
commit daaef8328f
2 changed files with 64 additions and 25 deletions

View File

@ -310,7 +310,12 @@
{
"name": "cronologia_macrofase",
"path": "$._theDocument.cronologiaMacrofase",
"type": "TEXT"
"type": "TEXT",
"apply_regex": {
"type": "replaceAll",
"regex": "(\\s)?\\([\\s\\S]*",
"replacement": ""
}
},
{
"name": "specifiche_cronologia",

View File

@ -91,7 +91,7 @@
]
}
},
"_description": "Embedded profile for concessioni management",
"_description": "Embedded profile for concessioni [mibac] management",
"_creationInfo": {
"_user": {
"_username": "francesco.mangiacrapa"
@ -212,21 +212,11 @@
"path": "$._theDocument.descrizioneContenuto",
"type": "TEXT"
},
{
"name": "autore",
"path": "$._theDocument.authors",
"type": "TEXT"
},
{
"name": "contributore",
"path": "$._theDocument.contributore",
"type": "TEXT"
},
{
"name": "titolare",
"path": "$._theDocument.titolari",
"type": "TEXT"
},
{
"name": "responsabile",
"path": "$._theDocument.responsabile",
@ -237,6 +227,16 @@
"path": "$._theDocument.editore",
"type": "TEXT"
},
{
"name": "ufficio_MiC_competente",
"path": "$._theDocument.ufficioMic",
"type": "TEXT"
},
{
"name": "funzionario_responsabile",
"path": "$._theDocument.funzionarioResponsabile",
"type": "TEXT"
},
{
"name": "finanziamento",
"path": "$._theDocument.fontiFinanziamento",
@ -272,11 +272,6 @@
"path": "$._info._access._license",
"type": "TEXT"
},
{
"name": "titolare_licenza",
"path": "$._theDocument.titolareLicenza",
"type": "TEXT"
},
{
"name": "accesso",
"path": "$._info._access._license",
@ -287,15 +282,55 @@
"path": "$._theDocument.paroleChiaveLibere",
"type": "TEXT"
},
{
"name": "modalita_individuazione",
"path": "$._theDocument.modalitaIndividuazione",
"type": "TEXT"
},
{
"name": "contesto_indagine",
"path": "$._theDocument.contestoIndagine",
"type": "TEXT"
},
{
"name": "denominazione",
"path": "$._theDocument.denominazione",
"type": "TEXT"
},
{
"name": "stato_attuale",
"path": "$._theDocument.statoAttuale",
"type": "TEXT"
},
{
"name": "accessibilita",
"path": "$._theDocument.accessibilita",
"type": "TEXT"
},
{
"name": "cronologia_macrofase",
"path": "$._theDocument.cronologia_macrofase",
"path": "$._theDocument.cronologiaMacrofase",
"type": "TEXT",
"apply_regex": {
"type": "replaceAll",
"regex": "(\\s)?\\([\\s\\S]*",
"replacement": ""
}
},
{
"name": "specifiche_cronologia",
"path": "$._theDocument.specificheCronologia",
"type": "TEXT"
},
{
"name": "quota_max",
"path": "$._theDocument.quotaMax",
"type": "TEXT"
},
{
"name": "quota_min",
"path": "$._theDocument.quotaMax",
"type": "TEXT"
}
],
"jslt": {},
@ -409,14 +444,13 @@
"_configuration": {
"itemFields": [
{
"label": "Descriptive Fields",
"label": "Any Field",
"paths": [
"_theDocument.nome",
"_theDocument.introduzione",
"_theDocument.authors",
"_theDocument.contributore",
"_theDocument.titolari",
"_theDocument.dataInizioProgetto",
"_theDocument.editore",
"_theDocument.responsabile",
"_theDocument.paroleChiaveLibere",