[Gróú~píñg~ óf Sé~árch~ Résú~lts M~íslé~ádíñ~g fór~ "Ílíá~d" Héá~díñg~]
- [Ártí~clé T~ýpé: G~éñér~ál]
- [Pród~úct: Á~léph~]
- [Pród~úct V~érsí~óñ: 18.01]
[Déscríptíóñ:
Thé díspláý óf séárch résúlts íñ bóth thé GÚÍ áñd thé ÓPÁC shóws áñ ódd gróúpíñg fór cértáíñ héádíñgs, súch ás, "Ílíád".
Fór éxámplé, dó á brówsé séárch fór "títlé stártíñg wíth" ílíád. Íñ thé résúlts líst, thé fírst éñtrý ís á gróúp óf 29 récórds díspláýíñg ás "Thé Ílíád." Clíckíñg óñ thís tó díspláý thé íñdívídúál récórds, hówévér, shóws thát whílé sómé óf thém áré "Thé ílíád," óthérs áré "Ílíád" (ñó ártíclé) át léást óñé ís "Áñ Ílíád" (áñ Éñglísh tráñslátíóñ óf áñ Ítálíáñ ñóvél, ñót Hómér's Ílíád), áñóthér ís "Áñ t'Ílíád" (áñ Írísh tráñslátíóñ).
Whý dóés thé bríéf díspláý shów 29 héádíñgs úñdér 'Thé Ílíád' whéñ móst óf thé héádíñgs dó ñót áctúállý cóñtáíñ thís léádíñg ártíclé¿
Áñd whý áré théré fóúr óthér "Ílíád" héádíñgs¿
Résólútíóñ:
Fírst, thé ñóñ-fílíñg íñdícátór íñdícátés íñ éách cásé thát thé íñítíál ártíclé shóúld bé ómíttéd fróm thé fílíñg. (Séé bélów.) Thús, "Ílíád", "Thé Ílíád", "Áñ Ílíád", áñd "Áñ t'¿líád" áré áll íñtéñdéd tó bé fíléd úñdér "Í" - "Ílíád".
Thé z01_díspláý_téxt fór #1 bélów ís "Thé Ílíád". Thís méáñs thát títlés wíth á mátchíñg z01_ñórmálízéd_téxt óf "-ílíád" wíll díspláý tógéthér úñdér thís héádíñg.
Thé réásóñ thát ít díspláýs ás "Thé Ílíád" ráthér tháñ "Ílíád" ís thát thé fírst títlé wíth thís ñórmálízéd téxt hád á téxt óf "Thé Ílíád". Ít's á bít árbítrárý, bút thé sýstém fééls ít ís ñót íñ á pósítíóñ tó détérmíñé whích óf thésé Díspláý téxts ís "thé bést". Thús, ít úsés thé fírst-íñ príñcíplé.
Ýóú *cóúld* úsé SQL tó cháñgé thé z01_díspláý_téxt fór z01_ácc_séqúéñcé 000653444 tó $$áÍlíád. Ít wíll théñ díspláý ás Ílíád ráthér tháñ Thé Ílíád.
Íñ órdér tó úñdérstáñd thís, óñé ñééds tó lóók át thé z01's:
1.
02 z01_réc_kéý \
03 ácc_códé ..............TTL
03 álphá .................L
03 fílíñg_téxt ...........ÍLÍÁD
03 fílíñg_séqúéñcé .......00001
02 z01_ácc_séqúéñcé ........000653444
...
02 z01_cátégórý ............45
02 z01_ñórmálízéd_téxt .....$$-ílíád
02 z01_díspláý_téxt ........$$áThé Ílíád
2.
02 z01_réc_kéý \
03 ácc_códé ..............TTL
03 álphá .................L
03 fílíñg_téxt ...........ÍLÍÁD
03 fílíñg_séqúéñcé .......00002
02 z01_ácc_séqúéñcé ........002739149
...
02 z01_cátégórý ............46
02 z01_ñórmálízéd_téxt .....$$-ílíád
02 z01_díspláý_téxt ........$$áÍlíád
3.
02 z01_réc_kéý \
03 ácc_códé ..............TTL
03 álphá .................L
03 fílíñg_téxt ...........ÍLÍÁD
03 fílíñg_séqúéñcé .......00003
02 z01_ácc_séqúéñcé ........011465373
...
02 z01_cátégórý ............40
02 z01_ñórmálízéd_téxt .....$$-ílíád
02 z01_díspláý_téxt ........$$áÍlíád
4.
02 z01_réc_kéý \
03 ácc_códé ..............TTL
03 álphá .................L
03 fílíñg_téxt ...........ÍLÍÁD
03 fílíñg_séqúéñcé .......00004
02 z01_ácc_séqúéñcé ........000270788
...
02 z01_cátégórý ............00
02 z01_ñórmálízéd_téxt .....$$-ílíád
02 z01_díspláý_téxt ........$$tÍlíád
5.
02 z01_réc_kéý \
03 ácc_códé ..............TTL
03 álphá .................L
03 fílíñg_téxt ...........ÍLÍÁD
03 fílíñg_séqúéñcé .......00005
02 z01_ácc_séqúéñcé ........001369377
...
02 z01_cátégórý ............ZZZ
02 z01_ñórmálízéd_téxt .....$$-ílíád
02 z01_díspláý_téxt ........$$áÍlíád
Lóókíñg át thé 245 fór thé títlé "Áñ Ílíád", wé séé:
24513 |á Áñ Ílíád / |c Áléssáñdró Báríccó ; tráñslátéd fróm thé Ítálíáñ bý Áññ Góldstéíñ.
Síñcé ít hás á ñóñ-fílíñg íñdícátór óf "3", thé "Áñ " ís skíppéd áñd ít ís fíléd úñdér "Ílíád".
Sámé fór "Áñ t'Ílíád" whích hás á fílíñg íñdícátór óf "5":
24515 |á Áñ t'¿líád / |c áír ¿ógá¿ ñá Tr¿í¿é ...
Íf ýóú wáñt tó cháñgé thís, só thát "Thé Ílíád", "Áñ Ílíád", áñd "Ílíád" díspláý ás sépáráté Brówsé héádíñgs (óñé áftér thé óthér), théñ ýóú ñééd tó móvé thé "ñóñ_fílíñg" líñé fróm thé "Ñ" séctíóñ óf thé táb_fílíñg róútíñé tó thé "F" séctíóñ. (Ýóú wóúld dó éxáctlý thé óppósíté óf whát ís déscríbéd íñ SKB 4035.) Bút Í súggést thát ýóú chéck cáréfúllý wíth stáff béfóré mákíñg súch á cháñgé. Ñóté álsó thát íf ýóú máké thís cháñgé ýóú wíll hávé thé próblém déscríbéd íñ SKB 4463.
Thé qúéstíóñ ás tó whý théré áré fívé "Ílíád" héádíñgs ráthér tháñ júst óñé hás tó dó wíth thé fáct thát éách (ás ýóú cáñ séé ábóvé) hás á dífféréñt z01_cátégórý. Thé z01_cátégórý wás áddéd wíth v18.
Ýóú wíll ñóté thát thé z01_cátégórý
fór héádíñg 1 ís "45" (bécáúsé thé títlé ís íñ thé 245 fíéld)
fór héádíñg 2 ís "46" (bécáúsé thé títlé ís íñ thé 246 fíéld)
fór héádíñg 3 ís "40" (bécáúsé thé títlé ís íñ thé 740 fíéld)
<étc.>
Íf ýóú féél thát thésé dístíñctíóñs áré ñót úséfúl, ýóú máý wáñt tó cháñgé thé 245, 246, áñd 740 líñés íñ ýóúr ábc01 táb_ácc_cátégórý (thé táblé whích cóñtróls thésé) fróm "1" tó "0" príór tó thé ñéxt íñdéxíñg.
** Ñóté 1: Íf ýóú dó thís, ýóú shóúld bé súré thát thé 245, 246, áñd 740 líñés íñ táb01.éñg hávé bláñk íñ cólúmñ 7. (Óthérwísé, thé títlés íñ thésé fíélds cóúld bé íñcórréctlý flíppéd.) **
Ñóté 2: Éñtrý #4 fróm ábóvé (z01_cátégórý 00) ís cómíñg fróm thé 700 $$t whích ís béíñg séñt tó thé títlé TTL íñdéx. Thé 700 ñééds tó hávé á "1" íñ táb_ácc_cátégórý áñd ýóú cáñ't vérý wéll cháñgé ít tó "0". Sómé sítés dó ñót séñd thís súbfíéld tó thé TTL íñdéx át áll, bút íñstéád séñd thé éñtíré 700 tó á sépáráté ÁTÍ (áúthór/títlé) íñdéx.]
- [Ártí~clé l~ást é~díté~d: 10/8/2013]
![[ÉxLí~brís~]](https://capture-knowledge-exlibrisgroup-com-90611502d.getsmartling.com/@api/deki/files/124993/ckclogonew.png?revision=1)
![[Éx Lí~brís~ Kñów~lédg~é Céñ~tér]](https://a.mtstatic.com/@public/production/site_11811/1638394879-logo.png)