diff --git a/projects/person-search-index-from-delius/container/pipelines/contact/index/contact-search-template.yml b/projects/person-search-index-from-delius/container/pipelines/contact/index/contact-search-template.yml index 5cfc87023c..68cda14dbc 100644 --- a/projects/person-search-index-from-delius/container/pipelines/contact/index/contact-search-template.yml +++ b/projects/person-search-index-from-delius/container/pipelines/contact/index/contact-search-template.yml @@ -9,7 +9,7 @@ template: index.mapping.ignore_malformed: true analysis: analyzer: - probation_search_analyzer: + probation_text_analyzer: tokenizer: custom-whitespace # Split words on whitespace while preserving space-separated dates, numbers and postcodes filter: - asciifolding # Convert non-ascii characters to ascii (e.g. "Êxâmple.text" => "Example.text") @@ -40,48 +40,8 @@ template: - catenate_non_dates # Combine any numeric fields that haven't been matched as dates (e.g. phone numbers "(0123) 456-789" => "0123456780") - override_stemmer # Exclude words from stemming (e.g. officer and office should be treated separately) - stemmer # Perform word stemming (e.g. "example" => "exampl" , "testing" => "test") - - probation_synonyms_common # Apply simple synonyms during both search and indexing. - - probation_synonyms_search # Apply additional synonyms at search time - - delimit_words # Split tokens on punctuation (e.g. "example.text" => ["example.text", "exampletext", "example", "text"]) - - flatten_graph # Flatten the token graph, so it can be used for indexing - - override_stemmer # Perform additional word stemming after synonyms have been applied - - stemmer # ... - - trim # Trim any whitespace from the start/end of tokens - - remove_single_chars # Remove any tokens that are a single character - - unique_tokens # Remove any duplicate tokens in the same positions - probation_text_analyzer: # Duplicate of the search analyzer, but with different synonyms - tokenizer: custom-whitespace # Split words on whitespace while preserving space-separated dates, numbers and postcodes - filter: - - asciifolding # Convert non-ascii characters to ascii (e.g. "Êxâmple.text" => "Example.text") - - lowercase # Convert all characters to lowercase - - capture_numbers # Capture consecutive numbers (e.g. "DATE=01-02-03" => ["01-02-03", "DATE=01-02-03"]) - - replace_dialcodes # Replace dial codes with 0 (e.g. "+44123..." => "0123...") - - dates_iso8601 # Convert a range of date formats to yyyy-MM-dd - - dates_month_day_year # e.g. "feb 1st 1999" => "01.feb.1999 - - dates_jan # e.g. "1st January 19" => "01.01.19" - - dates_feb # e.g. "01.feb.99" => "01.02.99" - - dates_mar # ... - - dates_apr - - dates_may - - dates_jun - - dates_jul - - dates_aug - - dates_sep - - dates_oct - - dates_nov - - dates_dec - - dates_year_month_day # e.g. "1999.02.01" => "01.02.1999" - - dates_long_year # e.g. "01 02 1999" => "01.02.1999" - - dates_short_year_19 # e.g. "01 02 99" => "01.02.1999" - - dates_short_year_20 # e.g. "01 02 03" => "01.02.2003" - - dates_short_day # e.g. "1 02 1999" => "01.02.1999" - - dates_short_month # e.g. "01 2 1999" => "01.02.1999" - - dates_reformat # e.g. "01.02.1999" => "1999-02-01" - - catenate_non_dates # Combine any numeric fields that haven't been matched as dates (e.g. phone numbers "(0123) 456-789" => "0123456780") - - override_stemmer # Exclude words from stemming (e.g. officer and office should be treated separately) - - stemmer # Perform word stemming (e.g. "example" => "exampl" , "testing" => "test") - - probation_synonyms_common # Apply simple synonyms during both search and indexing. - - probation_synonyms_index # Apply additional synonyms while indexing + - multiword_synonyms # Combine multi-word synonyms into a single token (e.g. ["unpaid", "work"] => ["unpaid", "work", "unpaid_work"]) + - probation_synonyms # Apply probation synonyms (e.g. "upw" => ["upw", "unpaid_work"]) - delimit_words # Split tokens on punctuation (e.g. "example.text" => ["example.text", "exampletext", "example", "text"]) - flatten_graph # Flatten the token graph, so it can be used for indexing - override_stemmer # Perform additional word stemming after synonyms have been applied @@ -114,99 +74,286 @@ template: flags: CASE_INSENSITIVE|COMMENTS group: 1 filter: - probation_synonyms_common: - type: synonym # expand: false unless => is used + multiword_synonyms: + type: synonym synonyms: - - apt, appt => appointment, apt, appt - - upw duty manager, upw operations manager, upw placement manager, upw om, upw requirement manager, upw work manager, upw management, upw delivery manager - - general practitioner, gp, doctor - - mental health, mh - - adjourned, adj - - report, rept, rep, rpt - - magistrates court, magistratescourt, mc, mags, mag court - - crown court, cc, crowncourt, crn court - - accredited program, accreditedprogram, ap, prog, program - - sentence plan, initial sentence plan, final sentence plan, sp, isp, fsp, sentenceplan plan - - self harm, selfharm, self-harm - - wife, partner - - transfer, tfr - - meds, medication, medicine - - dad, father, pa - - mom, mum, mother - - msg, message - - disqualified, disq - - intelligence, intel - - text, sms, tc - - afternoon, pm - - morning, am - - employment, empl - - licence, lic - - cert, certification - - rls, release - - pics, pictures - - unlawfully at large, ual - - standard, std - - years, yrs - - ooh, out of hours - - wfh, work from home - - adj, adjourned - - pts, points - - television, tv - - att => att, attend - - absence, ab, abs - - fialed, filed => failed, fialed filed - - girlfriend, gf - - abs, absence - - home office, ho - - appt, apt, appointment - - e-mail, email - - video link, videolink, video-link - - referral, referal - - term, termination - - time table, timetable, time-table - - summ, summary - - criminal number, cro - - antidepressants, anti-depressants - - fostercare, foster-care - - departure, depart - - disclose, disclosure - - expose, exposure - - work sheet, worksheet - - antisocial, anti-social, anti social - - sfo, serious further offence - - hrs, hours - - years, yrs - - girlfriend, gf - - accomodation, accom, accommodation - - home office, ho - - alcohol, alc - - address, addr - - drugs, drg - - programme, program - - domestic, dom - - sexual, sex - - well being, wellbeing, welbeing, well-being, wellbeing - - solicitor, lawyer - - rehab, rehabilitation - - nan, grand mother, grandmother, grandma - - grandfather, grand father, grandad - - grandchild, grand child - - preg, pregnant - - pip, benefits - - docs, documents - - key worker, keyworker, key-worker - - min, minutes - - child, children, kid - - admission, admit - - exclusion, excl - - initial, inital - - intro, introduction - - mgr => manager - - passed away, died - - pictures, pics - - racial, racist - - register, registration, registry - - one, 1 + - 1.00 am => 1.00_am + - 2.00 am => 2.00_am + - 3.00 am => 3.00_am + - 4.00 am => 4.00_am + - 5.00 am => 5.00_am + - 6.00 am => 6.00_am + - 7.00 am => 7.00_am + - 8.00 am => 8.00_am + - 9.00 am => 9.00_am + - 10.00 am => 10.00_am + - 11.00 am => 11.00_am + - domestic violence => domestic_violence + - acceptable absence => acceptable_absence + - accredited programme => accredited_programme + - approved premise => approved_premise + - approved premises => approved_premises + - bail accommodation => bail_accommodation + - bail accommodation support service => bail_accommodation_support_service + - bail hostel => bail_hostel + - transitional housing => transitional_housing + - temporary accommodation => temporary_accommodation + - short-term accommodation => short-term_accommodation + - short term accommodation => short_term_accommodation + - assistant chief officer => assistant_chief_officer + - auto conditional release date => auto_conditional_release_date + - conditional release date => conditional_release_date + - automatic release date => automatic_release_date + - after care => after_care + - 12 monthly => 12_monthly + - per annum => per_annum + - anti social => anti depressants + - actual bodily harm => actual_bodily_harm + - grievous bodily harm => grievous_bodily_harm + - office visit => office_visit + - alcohol treatment requirement => alcohol_treatment_requirement + - building better relationships => building_better_relationships + - basic custody screening => basic_custody_screening + - basic custody screening tool => basic_custody_screening_tool + - bring on potential => bring_on_potential + - case admin => case_admin + - case administrator => case_administrator + - court admin => court_admin + - court administrator => court_administrator + - controlling anger and learning to manage it => controlling_anger_and_learning_to_manage_it + - care needs => care_needs + - social services => social_services + - care experienced => care_experienced + - care home => care_home + - a home => a_home + - crown court => crown_court + - pre-release custody date => pre-release_custody_date + - recall date => recall_date + - community domestic violence programme => community_domestic_violence_programme + - criminal justice act => criminal_justice_act + - person on probation => person_on_probation + - community order => community_order + - probation order => probation_order + - community rehabilitation order => community_rehabilitation_order + - community punishment order => community_punishment_order + - community punishment and rehabilitation order => community_punishment_and_rehabilitation_order + - suspended sentence order => suspended_sentence_order + - commissioned services => commissioned services + - commissioned rehabilitative services => commissioned_rehabilitative_services + - rehabilitative services => rehabilitative_services + - community service => community_service + - community payback => community_payback + - unpaid work => unpaid_work + - circles of support => circles_of_support + - magistrates court => magistrates_court + - mags crt => mags_crt + - crown court => crown_court + - crown crt => crown_crt + - crn court => crn_court + - crn crt => crn_crt + - mags court => mags_court + - control of violence for angry impulsive drinkers => control_of_violence_for_angry_impulsive_drinkers + - responsible officer => responsible_officer + - probation officer => probation_officer + - community sex offender group programme => community_sex_offender_group_programme + - immigration removal centre => immigration_removal_centre + - secure hospital => secure_hospital + - domestic abuse safety officer => domestic abuse safety officer + - womens safety officer => womens_safety_officer + - womens safety worker => womens_safety_worker + - victims liaison officer => victims_liaison_officer + - a domestic => a_domestic + - accredited programme => accredited_programme + - actual end date => actual_end_date + - air force => air_force + - at large => at_large + - birth date => birth_date + - community payback => community_payback + - community rehabilitation company => community_rehabilitation_company + - date of birth => date_of_birth + - department for work and pensions => department_for_work_and_pensions + - discretionary release date => discretionary_release_date + - domestic abuse => domestic_abuse + - domestic violence => domestic_violence + - drink impaired drivers => drink_impaired_drivers + - drug intervention programme => drug_intervention_programme + - drug rehabilitation requirement => drug_rehabilitation_requirement + - duty to refer => duty_to_refer + - earliest release date => earliest_release_date + - early release => early_release + - early removal => early_removal + - education training and employment => education_training_and_employment + - education training employment => education_training_employment + - electronic monitoring => electronic_monitoring + - end date => end_date + - end of custody licence => end_of_custody_licence + - end of custody supervision licence => end_of_custody_supervision_licence + - ex-armed services personnel => ex-armed_services_personnel + - expected release date => expected_release_date + - failed to attend => failed_to_attend + - failed to comply => failed_to_comply + - failed to report => failed_to_report + - faith related => faith_related + - final sentence plan => final_sentence_plan + - fit note => fit_note + - fixed term recall => fixed_term_recall + - fixed-term recall => fixed-term_recall + - foster care => foster_care + - further offence => further_offence + - further offences => further_offences + - general practitioner => general_practitioner + - girl friend => girl_friend + - grand child => grand_child + - grand children => grand_children + - grand dad => grand_dad + - grand kid => grand_kid + - grand ma => grand_ma + - grand mother => grand_mother + - hand over => hand_over + - hate crime => hate_crime + - hdc expected date => hdc_expected_date + - health authority => health_authority + - health board => health_board + - health service => health_service + - home detention curfew => home_detention_curfew + - home office => home_office + - immigration detention => immigration_detention + - immigration removal centre => immigration_removal_centre + - independent inquiry into child sexual abuse => independent_inquiry_into_child_sexual_abuse + - indeterminate sentence for public protection => indeterminate_sentence_for_public_protection + - initial sentence plan => initial_sentence_plan + - integrated offender management => integrated_offender_management + - intensive supervision => intensive_supervision + - interim accredited programmes service => interim_accredited_programmes_service + - interim accredited programmes system => interim_accredited_programmes_system + - internet sex offender treatment programme => internet_sex_offender_treatment_programme + - interventions manager => interventions_manager + - key worker => key_worker + - licence condition => licence_condition + - licence expiry date => licence_expiry_date + - local admin unit => local_admin_unit + - local delivery unit => local_delivery_unit + - london probation => london_probation + - london probation area => london_probation_area + - london probation trust => london_probation_trust + - low intensity alcohol programmes => low_intensity_alcohol_programmes + - mental health => mental_health + - move on => move_on + - national delius => national_delius + - national insurance => national_insurance + - national insurance number => national_insurance_number + - national standards => national_standards + - new me => new_me + - ni number => ni_number + - nomis id => nomis_id + - nomis number => nomis_number + - noms id => noms_id + - noms no => noms_no + - noms number => noms_number + - non parole date => non_parole_date + - non statutory intervention => non_statutory_intervention + - non-parole date => non-parole_date + - offender management => offender_management + - offender management unit => offender_management_unit + - oral report => oral_report + - out of hours => out_of_hours + - parole board review date => parole_board_review_date + - parole eligibility date => parole_eligibility_date + - parole report => parole_report + - parole request date => parole_request_date + - parom 1 => parom_1 + - partner => husband => partner_=>_husband + - passed away => passed_away + - personal independence payment => personal_independence_payment + - police constable => police_constable + - police officer => police_officer + - pom handover expected start date => pom_handover_expected_start_date + - post sentence supervision => post_sentence_supervision + - post sentence supervision end date => post_sentence_supervision_end_date + - post sentence supervision expiry date => post_sentence_supervision_expiry_date + - post sentence supervision requirement => post_sentence_supervision_requirement + - post-sentence supervision => post-sentence_supervision + - post-sentence supervision end date => post-sentence_supervision_end_date + - post-sentence supervision expiry date => post-sentence_supervision_expiry_date + - post-sentence supervision requirement => post-sentence_supervision_requirement + - presentence report => presentence_report + - pre-sentence report => pre-sentence_report + - previous convictions => previous_convictions + - prison offender manager => prison_offender_manager + - probation delivery unit => probation_delivery_unit + - probation service => probation_service + - problem solving court => problem_solving_court + - prolific priority offender => prolific_priority_offender + - public health england => public_health_england + - public health wales => public_health_wales + - racially motivated => racially_motivated + - rehabilitation activity requirement => rehabilitation_activity_requirement + - release date => release_date + - release on temporary licence => release_on_temporary_licence + - release review date => release_review_date + - re-release date => re-release_date + - restorative justice => restorative_justice + - retirement benefit => retirement_benefit + - risk of harm => risk_of_harm + - risk of serious harm => risk_of_serious_harm + - risk of serious recidivism => risk_of_serious_recidivism + - ro responsibility handover from pom to om expected date => ro_responsibility_handover_from_pom_to_om_expected_date + - rotl end date => rotl_end_date + - safe guarding => safe_guarding + - section 44 extended date => section_44_extended_date + - self change programme => self_change_programme + - self harm => self_harm + - self inflicted death => self_inflicted_death + - self-change programme => self-change_programme + - self-inflicted death => self-inflicted_death + - senior probation officer => senior_probation_officer + - sentence expiry date => sentence_expiry_date + - sentence plan => sentence_plan + - serious further offence => serious_further_offence + - serious further offences => serious_further_offences + - sex offender treatment programme => sex_offender_treatment_programme + - sexual harm prevention order => sexual_harm_prevention_order + - sexual offending prevention order => sexual_offending_prevention_order + - sexual risk order => sexual_risk_order + - short duration programme => short_duration_programme + - short format report => short_format_report + - short-format report => short-format_report + - sick note => sick_note + - social security => social_security + - spousal assault risk assessment => spousal_assault_risk_assessment + - strategic health authority => strategic_health_authority + - structured assessment of risk and need => structured_assessment_of_risk_and_need + - structured intervention => structured_intervention + - subject access request => subject_access_request + - substance abuse => substance_abuse + - substance misuse => substance_misuse + - tariff date => tariff_date + - temporary licence => temporary_licence + - temporary release => temporary_release + - terrorism act => terrorism_act + - thinking skills programme => thinking_skills_programme + - through the gate => through_the_gate + - time table => time_table + - top-up supervision => top-up_supervision + - top-up supervision end date => top-up_supervision_end_date + - top-up supervision expiry date => top-up_supervision_expiry_date + - unacceptable absence => unacceptable_absence + - unacceptable behaviour => unacceptable_behaviour + - universal credit => universal_credit + - unlawfully at large => unlawfully_at_large + - unpaid work => unpaid_work + - victims liasion unit => victims_liasion_unit + - warrant without bail => warrant_without_bail + - womens safety officer => womens_safety_officer + - work capability assessment => work_capability_assessment + - work from home => work_from_home + - young offender institution => young_offender_institution + - youth offending service => youth_offending_service + - youth offending team => youth_offending_team + probation_synonyms: + type: synonym + synonyms: + - 1, one - 2, two - 3, three - 4, four @@ -233,162 +380,233 @@ template: - 70, seventy - 80, eighty - 90, ninety - - 1 am, 1am, 0100 - - 2 am, 2am, 0200 - - 3 am, 3am, 0300 - - 4 am, 4am, 0400 - - 5 am, 5am, 0500 - - 6 am, 6am, 0600 - - 7 am, 7am, 0700 - - 8 am, 8am, 0800 - - 9 am, 9am, 0900 - - 10 am, 10am, 1000 - - 11 am, 11am, 1100 - - 12 pm, 12pm, 1200 - - 1 pm, 1pm, 1300 - - 2 pm, 2pm, 1400 - - 3 pm, 3pm, 1500 - - 4 pm, 4pm, 1600 - - 5 pm, 5pm, 1700 - - 6 pm, 6pm, 1800 - - 7 pm, 7pm, 1900 - - 8 pm, 8pm, 2000 - - 9 pm, 9pm, 2100 - - 10 pm, 10pm, 2200 - - 11 pm, 11pm, 2300 - - 12 am, 12am, 0000 - probation_synonyms_index: - type: synonym # expand: false unless => is used - synonyms: - - failed to attend, fta, abs, absence, failure to attend => failedtoattend failed absence fta - - failed to report, ftr => failedtoreport failed ftr report - - failed to comply, ftc => failedtocomply ftc failed comply - - unacceptable absence, ua => unacceptableabsence ua unacceptable - - acceptable absence, aa => acceptableabsence acceptable absence aa - - grievous bodily harm, gbh => grievousbodilyharm gbh - - actual bodily harm, abh => actualbodilyharm abh - - domestic violence, domestic abuse, dv, da => domesticviolence dv da abuse violence domestic - - offender manager, om => om offendermanager manager # exclude offender - - community practitioner, cppt => offendermanager manager cppt practitioner - - probation practitioner, ppt => ppt offendermanager manager practitioner - - community practitioner, com => offendermanager manager com practitioner - - prison offender manager, pom => pom, prisonoffendermanager, manager - - program manager, programme manaer => programmanager, manager - - treatment manager => programmanager, manager - - tutor => programmanager, tutor - - intervention manager, im, intervension manager => interventionmanager, manager, im - - supervisor => unpaidworkmanager manager supervisor - - unpaid work manager => unpaidworkmanager manager supervisor - - unpaid work supervisor => unpaidworkmanager manager supervisor - - upw supervisor => unpaidworkmanager manager supervisor - - cp manager => unpaidworkmanager manager supervisor - - cp supervisor => unpaidworkmanager manager supervisor - - offender management unit, omu => omu offendermanagermentunit - - warrant not backed bail, wnbb => warrantnotbackedbail warrant summons wnbb - - warrant backed for bail, wbb => warrantbackedbail warrant summons wbb - - wnbb => warrantnotbackedbail warrant summons wnbb - - wbb => warrantbackedbail warrant summons wbb - - risk of serious harm, risk of harm, rosh, rosha => riskofharm risk harm serious rosh rosha - - sex offences protection order, sopo, sor, shpo, sex offender register, sexual harm prevention order, sro => sexoffencesprotectionorder, sex, register, harm, prevention, offence - - independent inquiry into child sexual abuse, child abuse, iicsa => independentinquiryintochildsexualabuse, child, abuse, sexual - - prolific priority offender, ppo => prolificpriorityoffender, prolific, offender, priority - - victim liaison officer, victim liaison contact, victim liaison unit, vlo, vlu => victimliaisonofficer victim liaison officer unit - - womens safety worker, wsw => victimliaisonofficer women safety worker - - unpaid work, upw, cp, cs, community service => unpaidwork, upw - - cs, community service => unpaidwork, cs, community service - - community payback, cp => unpaidwork, cp, comminity payback - - community order, co, com, comm order probation order => communityorder, order, community, co, com - - previous convictions, prev convictions, precon, pre cons, pre-cons => previousconviction, conviction - - police constable, pc => policeconstable, pc, constable, police - - accredited program, accredited programme, acc prog, ap, iaps => accreditedprogram, ap, program, iaps - - person on probation, pop, client => persononprobation, offender, person - - service user => persononprobation, service user - - client => persononprobation, client - - offender => persononprobation, offender - - remanded in custody, ric => remandedincustody, remanded, custody, ric - - universal credit, uc => universalcredit, uc, benefits, credit, universal - - social services, ss, social worker, adult services, adult care, adultcare => socialservices, social services adult - - national insurance number => ninumber, ni, nino - - ni => ninumber, ni, nino - - nino => ninumber, ni, nino - - ni number => ninumber ni, nino - - national standards => nationalstandards ns national standards - - local admin unit, probation delivery unit, ldu, lau, cluster, pdu => localadminunit delivery local ldu lau cluster pdu - - commissioned rehabilitative services, crs => commissioned rehabilitative services crs - - rehabilitation activity requirement, rar => rehabilitationactivityrequirement rar requirement rehabilitation - - non structured intervention, non structured intervension, nsi, non statutory intervention => nonstatutoryintervention, nsi, intervention - - structured interventions, si, tsi, structured intervension => structuredintervention structured si, tsi, intervention, interension - - national delius, nd => nationaldelius, delius, nd - - delius => nationaldelius - - dob, d o b, date of birth, d.o.b => dateofbirth, birth, date - - safe guarding, safeguarding, safegaurding, safe gaurding, safegarding, safe-guarding => safeguarding - - dwp, department for work pensions, dwp => dwp, department work pensions - - hand over => handover, h/o - - self harm, self-harm => selfharm - - aftercare, after care, after-care - - annual, yearly - - chronology, cronolgy, chron, cron - probation_synonyms_search: - type: synonym # expand: false unless => is used - synonyms: - - failed to attend, fta, abs, absence failed attend, failure to attend => failedtoattend - - failed to report, ftr => failedtoreport - - failed to comply, ftc => failedtocomply - - unacceptable absence, ua => unacceptableabsence - - acceptable absence, aa => acceptableabsence - - grevious bodily harm, gbh => greviousbodilyharm gbh - - actual bodily harm, abh => actualbodilyharm abh - - domestic violence, domestic abuse, dv, da => domesticviolence - - offender manager, om => offendermanager - - community practitioner, cppt => offendermanager - - probation practitioner, ppt => offendermanager - - community probation practitioner, com => offendermanager - - prison offender manager, pom => prisonoffendermanager - - program manager, programme manager => programmanager - - treatment manager => programmanager - - tutor => programmanager - - intervention manager, intervension manager, im => interventionmanager - - supervisor => unpaidworkmanager supervisor - - unpaid work manager => unpaidworkmanager - - unpaid work supervisor => unpaidworkmanager - - upw supervisor => unpaidworkmanager - - cp manager => unpaidworkmanager - - cp supervisor => unpaidworkmanager - - offender management unit, omu => offendermanagermentunit - - general practitioner, gp, doctor => generalpractitioner - - mental health, mh => mentalhealth - - warrant not backed bail, wnbb, summons => warrantnotbackedbail - - warrant backed for bail, wbb, summons => warrantbackedbail - - magistrates court, mc, mags court => magistratescourt - - crown court, crn court, cc => crowncourt - - risk of serious harm, risk of harm, rosh, rosha => riskofharm - - sex offences protection order, sopo, sor, shpo, sex offender register, sexual harm prevention order, sro => sexoffencesprotectionorder - - independent inquiry into child sexual abuse, child abuse, iicsa => independentinquiryintochildsexualabuse - - victim liaison officer, victim liason unit, womens safety worker, wsw, vlo, vlu => victimliaisonofficer - - unpaid work, upw, cs, community service, community payback, cp => unpaidwork - - community order, co, com, comm order probation order => communityorder - - previous convictions, precon, pre-cons => previousconviction - - police constable, pc => policeconstable, pc - - accredited program, accredited programme, acc_prog, ap => accreditedprogram - - service user, person on probation, pop, client, offender => persononprobation - - remanded in custody, ric => remandedincustody ric - - universal credit, uc => univeralcredit - - social services, ss, social worker, social care => socialservices - - national insurance number, ni number, ni, nino => ninumber - - sentence plan, initial sentence plan, final sentence plan, sp, isp, fsp => sentenceplan plan - - national standards, ns => nationalstandards - - local admin unit, Probation Delivery Unit, ldu, lau, cluster, pdu => localadminunit - - commissioned rehabilitative services crs => commissioned rehabilitative services - - rehabilitation activity requirement, rar => rehabilitationactivityrequirement - - non structured intervention, nsi, non statutory invervention => nonstatutoryintervention - - structured interventions, si, tsi, structured intervension => structuredintervention - - national delius => nationaldelius - - delius => national delius - - dob, d o b, date of birth, d.o.b => dateofbirth - - safe guarding, safeguarding, safegarding, safe-guarding, safegaurding, safe gaurding => safeguarding - - dwp, department for work pensions, dwp => dwp, department work pensions - - hand over, h/o, handover => handover - - self harm, self-harm => selfharm + - 1 am, 1am, 0100, 01.00, 1.00_am + - 2 am, 2am, 0200, 02.00, 2.00_am + - 3 am, 3am, 0300, 03.00, 3.00_am + - 4 am, 4am, 0400, 04.00, 4.00_am + - 5 am, 5am, 0500, 05.00, 5.00_am + - 6 am, 6am, 0600, 06.00, 6.00_am + - 7 am, 7am, 0700, 07.00, 7.00_am + - 8 am, 8am, 0800, 08.00, 8.00_am + - 9 am, 9am, 0900, 09.00, 9.00_am + - 10 am, 10am, 1000, 10.00_am + - 11 am, 11am, 1100, 11.00_am + - 12 pm, 12pm, 1200, 12.00, midday, mid-day, noon + - 1 pm, 1pm, 1300, 13.00 + - 2 pm, 2pm, 1400, 14.00 + - 3 pm, 3pm, 1500, 15.00 + - 4 pm, 4pm, 1600, 16.00 + - 5 pm, 5pm, 1700, 17.00 + - 6 pm, 6pm, 1800, 18.00 + - 7 pm, 7pm, 1900, 19.00 + - 8 pm, 8pm, 2000, 20.00 + - 9 pm, 9pm, 2100, 21.00 + - 10 pm, 10pm, 2200, 22.00 + - 11 pm, 11pm, 2300, 23.00 + - 12 am, 12am, 0000, 00.00, midnight, mid-night + - abs, absence, failed_to_attend, fta + - abuse => cruelty, bullying, domestic_violence, incest + - slavery, exploitation + - acceptable, acceptable_absence, aa + - ap => accredited_programme, approved_premises + - accredited_programme, acc prog + - accom, accommodation, housing, home, location, addr, address + - cas1, approved_premises, approved_premise, hostel + - cas2, bass, bail_accommodation, bail_accommodation_support_service, bail_hostel + - cas3, transitional_housing, temporary_accommodation, short-term_accommodation, short_term_accommodation + - aco, assistant_chief_officer + - acr, auto_conditional_release_date, crd, conditional_release_date, ard, automatic_release_date + - adj, adjourned + - admission, admitted + - after care, aftercare, after-care + - afternoon, pm + - alc, alcohol, booze, drinking, drunk, drunkenness + - 8_am, 9_am, 10_am, 11_am, morning + - annual, yearly, 12_monthly, 12monthly, per_annum + - anti_social, antisocial, anti-social, asbo + - antidepressants, anti-depressants, anti_depressants + - appointment, office_visit, visit, attendance, appt + - assault =>, abh, actual_bodily_harm, gbh, grievous_bodily_harm + - abh, actual_bodily_harm + - gbh, grievous_bodily_harm + - atr, alcohol_treatment_requirement + - att, attend, attended, attendance + - bbr, building_better_relationships + - bcs, basic_custody_screening, bcst, basic_custody_screening_tool + - birth, maternity + - bop, bring_on_potential + - ca, case_admin, case_administrator, court_admin, court_administrator, admin, administrator + - calm, controlling_anger_and_learning_to_manage_it + - care, care_needs, social_services, care_experienced, care_home, a_home + - cc, crown_court + - ccr, pre-release_custody_date + - ccs, recall_date + - cdvp, community_domestic_violence_programme + - cert, certificate, certification, award, qualification + - child, children, kid, kids + - chronology, timeline, time_line + - cja, criminal_justice_act, cja2003 + - client, offender, pop, person_on_probation, probationer + - community_order => co, probation_order, cro, community_rehabilitation_order, cpo, community_punishment_order, cpro, community_punishment_and_rehabilitation_order, sso, suspended_sentence_order + - co, community_order + - cpo, community_punishment_order + - cro, community_rehabilitation_order + - cpro, community_punishment_and_rehabilitation_order + - sso, suspended_sentence_order + - comm, communication, communications + - commissioned_services, commissioned_rehabilitative_services, rehabilitative_services, crs + - community_service, community_payback, unpaid_work, upw, cp + - comp, comply, complied + - conviction, sentence, event, order, disposal + - cosa, circles_of_support + - court => magistrates_court, mags_court, mags_crt, mags, mc, crown_court, crown_crt, cc, crn_court, crn_crt + - magistrates_court, mags_court, mags_crt, mags, mc + - crown_court, crown_crt, cc, crn_court, crn_crt + - covaid, control_of_violence_for_angry_impulsive_drinkers + - cpo, community_punishment_order + - cppt, com, mgr, manager, offender_manager, practitioner, probation_practitioner, pp, community_practitioner, cpp, po, pso, pquip, om, supervisor, officer, probation_officer, ro, responsible_officer + - csogp, community_sex_offender_group_programme + - custody, prison, remand, establishment, irc, immigration_removal_centre, sh, secure_hospital + - da, dad, father + - daso, domestic_abuse_safety_officer, wso, womens_safety_officer, wsw, womens_safety_worker, vlo, victims_liaison_officer, liaison + - dcr, discretionary_release_date + - departure, move_on, move-on, leave + - deported, deportation, early_removal + - did, drink_impaired_drivers + - died, passed_away, dead + - dip, drug_intervention_programme + - disq, disqualified + - dob, date_of_birth, birthday, birth_date, birthdate + - docs, documents, letters, reports + - drg, drug, drugs, substance_misuse, substance_abuse, glue + - drr, drug_rehabilitation_requirement + - dss, dhss, social_security + - dv, da, domestic_abuse, domestic_violence, a_domestic + - dwp, department_for_work_and_pensions + - ecl, end_of_custody_licence + - ecsl, end_of_custody_supervision_licence, early_release + - em, electronic_monitoring, curfew, tag + - erd, earliest_release_date + - ete, education, training, employment, education_training_employment, education_training_and_employment, training + - ex-asp, ex-armed_services_personnel, veteran, army, navy, air_force, airforce, raf, marines, reservist, territorial + - excl, exclusion + - exp, expected_release_date + - exposure, flashing + - failed_to_attend, fta, failed_to_report, absent, absence, ua, unacceptable_absence + - failed_to_comply, ftc, unacceptable_behaviour + - fostercare, foster_care, foster-care + - ftr, fixed_term_recall, fixed-term_recall, fixed-term-recall, recall + - gf, girlfriend, girl_friend + - gp, doctor, doctors, general_practitioner, consultant, psychologist + - grandad, grand_dad, grandfather, gramp, grampa + - grandchild, grand_child, grandkid, grand_kid, grand_children, grandchildren, grandkids + - grandma, grand_ma, grandmother, grand_mother, gran, granny, nan, nana + - h/o, handover, hand_over, hand-over + - harm, rosh, rosha, risk_of_serious_harm, risk_of_harm, roh, risk + - hate_crime, hate-crime, racially_motivated, homophobic, faith_related, transophobic, racist, racism + - hdc, home_detention_curfew + - hde, hdc_expected_date + - ho, home_office, home-office + - homeless, homelessness, duty_to_refer, duty-to-refer, nfa + - hours, hrs + - i-sotp, internet_sex_offender_treatment_programme + - iaps, im, interventions_manager, interim_accredited_programmes_system, interim_accredited_programmes_service + - iicsa, independent_inquiry_into_child_sexual_abuse + - ill, sick, unfit, unwell + - intensive_supervision, iom, restorative_justice, problem_solving_court + - intervention, structured_intervention, accredited_programme, crs, si, tsi, ap, programme, nsi, non_statutory_intervention, non_specified_intervention + - intro, introduction + - iom, integrated_offender_management + - irc, immigration_removal_centre, immigration_detention + - isp, initial_sentence_plan, fsp, final_sentence_plan, sentence_plan + - ispp, ipp, indeterminate_sentence_for_public_protection + - key_worker, keyworker, key-worker + - lau, local_admin_unit, district + - ldu, local_delivery_unit, pdu, probation_delivery_unit, cluster, borough + - led, licence_expiry_date + - liap, low_intensity_alcohol_programmes + - lic, lc, licence_condition, licence + - lp, lpt, ldn, london, london_probation, london_probation_trust, london_probation_area + - offender_management, supervision, contact + - medication, medicine, prescription, naloxone, meds + - mh, mental_health + - min, minutes + - mom, mum, mother + - msg, message, text, email, sms + - national_insurance_number, nin, nino, ni_number, national_insurance + - national_standards, nsi + - nd, national_delius, delius, ndelius + - new_me, bnm, lmn, nmc, nms + - nomis_number, noms_number, noms_no, noms_id, nomis_id + - nomis, p-nomis + - npd, npl, non_parole_date, non-parole_date + - offence, offences, crime, crimes + - omu, offender_management_unit + - ooh, out_of_hours, out-of-hours + - parom1, parom_1, parole_report + - partner => husband, wife, boyfiend, girlfriend + - husband, boyfriend + - wife, girlfriend + - ped, parole_eligibility_date + - pension, retirement, retirement_benefit + - phe, public_health_england, health_service, phw, public_health_wales + - pic, picture, photo, photograph, selfie + - pip, personal_independence_payment + - placement, project, schedule + - police_constable, constable, pc, police_officer + - pom, prison_offender_manager + - pom1, pom_handover_expected_start_date + - pom2, ro_responsibility_handover_from_pom_to_om_expected_date + - ppo, prolific_priority_offender + - precons, previous_convictions, pre-cons + - probation, probation_service, ps, nps, crc, community_rehabilitation_company, trust, provider + - prq, parole_request_date + - psr, pre-sentence_report, presentence_report, sfr, short_format_report, short-format_report, oral_report + - pss, pssr, post_sentence_supervision, post-sentence_supervision, post_sentence_supervision_requirement, post-sentence_supervision_requirement, top-up_supervision + - tused, pssed, tssed, top-up_supervision_expiry_date, top-up_supervision_end_date, post_sentence_supervision_expiry_date, post-sentence_supervision_expiry_date, post-sentence_supervision_end_date, post_sentence_supervision_end_date + - rar, rehabilitation_activity_requirement + - referal, referral + - register, registration, globe, alert + - rehab, rehabilitation + - rotl, temporary_release, temporary_licence, release_on_temporary_licence + - rotld, rotl_end_date + - rpt, rep, rept, report + - rrl, re-release_date, release_date + - rrr, release_review_date + - rsr, risk_of_serious_recidivism + - safe_guarding, safeguarding, safe-guarding, protection, vulnerable, vulnerability + - sar, subject_access_request + - sara, spousal_assault_risk_assessment + - sarn, structured_assessment_of_risk_and_need + - sc4, section_44_extended_date + - scp, self_change_programme, self-change_programme + - sdp, short_duration_programme + - sed, sentence_expiry_date + - self-harm, selfharm, self_harm, suicide, self-inflicted_death, self_inflicted_death + - sex, sexual + - sfo, serious_further_offence, serious_further_offences, further_offence, further_offences + - sha, strategic_health_authority, health_authority, health_board + - shpo, sexual_harm_prevention_order, sopo, sexual_offending_prevention_order, shpo, sro, sexual_risk_order + - sotp, sex_offender_treatment_programme + - spo, senior, senior_probation_officer + - std, standard + - tact, terrorism_act + - tc, t/c, resettlement, throughcare, ttg, through_the_gate, through-the-gate + - td01, parole_board_review_date + - term, termination, end_date, actual_end_date + - tfr, transfer + - time_table, timetable, time-table + - trf, tariff_date + - tsp, thinking_skills_programme + - ual, unlawfully_at_large, escaped, at_large, wwb, warrant_without_bail + - uc, universal_credit, benefits + - upw, unpaid_work, community_payback + - vlu, victims_liasion_unit + - wca, work_capability_assessment, fit_note, sick_note + - wfh, work_from_home + - wso, womens_safety_officer + - youth, youth_offending_service, yots, youth_offending_team, yot, borstal, yoi, young_offender_institution + - yrs, years delimit_words: type: word_delimiter_graph preserve_original: true @@ -541,12 +759,10 @@ template: notes: type: text analyzer: probation_text_analyzer - search_analyzer: probation_search_analyzer boost: 5 description: type: text analyzer: probation_text_analyzer - search_analyzer: probation_search_analyzer boost: 4 outcome: type: text diff --git a/projects/person-search-index-from-delius/deploy/values-preprod.yml b/projects/person-search-index-from-delius/deploy/values-preprod.yml index ac4abaef8f..eef0b247c7 100644 --- a/projects/person-search-index-from-delius/deploy/values-preprod.yml +++ b/projects/person-search-index-from-delius/deploy/values-preprod.yml @@ -1,3 +1,5 @@ +enabled: false # Temporarily disabled while NDST team test the new synonym list + generic-service: ingress: host: person-search-index-from-delius-preprod.hmpps.service.justice.gov.uk diff --git a/projects/person-search-index-from-delius/deploy/values-prod.yml b/projects/person-search-index-from-delius/deploy/values-prod.yml index 8c6eecdb92..816073d8a0 100644 --- a/projects/person-search-index-from-delius/deploy/values-prod.yml +++ b/projects/person-search-index-from-delius/deploy/values-prod.yml @@ -1,3 +1,5 @@ +enabled: false # Temporarily disabled while NDST team test the new synonym list + generic-service: ingress: host: person-search-index-from-delius.hmpps.service.justice.gov.uk