[Bug 15187] New: Adding 880 Fields to index-list in order to increase Search or RTL Script (Arabic)
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 Bug ID: 15187 Summary: Adding 880 Fields to index-list in order to increase Search or RTL Script (Arabic) Change sponsored?: --- Product: Koha Version: 3.20 Hardware: PC OS: Windows Status: NEW Severity: critical Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: jesse@meta21st.com QA Contact: testopia@bugs.koha-community.org We have found that after we turned on ICU indexing to index Arabic in our catalogue (using these steps: http://wiki.koha-community.org/wiki/Correcting_Search_of_Arabic_records), we get results from searches in Arabic but NOT in specific search-limits such as "title," "author" or "series." This is 880 isn't INDEXED SPECIFICALLY TO DELIVER SEARCH RESULTS. We would very much like to add this functionality to our Koha instance. We have tried our hand at these steps (to add new field to the indexing list): http://wiki.koha-community.org/wiki/How_to_add_new_zebra_index to no avail. A friendly listserver suggested something like this:
<xsl:template match="marc:datafield[@tag='880']"> <xsl:variable name="linkage" select="substring(marc:subfield[@code='6']",1,3)"/><!-- linkage might contain something like 245 or 260 or 100 --> <xsl:call-template name="$linkage" /> </xsl:template>
But then suggested that we try something like this:
<index_subfields tag="880" subfields="a" condition="substring(marc:subfield[@code='6']",1,3) = 245"> <target_index>Title-cover:w</target_index> <target_index>Title-cover:p</target_index> <target_index>Title-cover:s</target_index> <target_index>Title:w</target_index> <target_index>Title:p</target_index> <target_index>Title:s</target_index> </index_subfields>
But that this required a specific block of edits to be made FOR EVERY LINKED FIELD to get 880 indexed "properly." Thank you. I have attached a few records from or catalogue. Jesse Lambertson jlambertson@sqcc.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 Jesse Lambertson <jesse@meta21st.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rel_3_22_candidate Priority|P5 - low |P1 - high -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 --- Comment #1 from Jesse Lambertson <jesse@meta21st.com> --- Created attachment 44850 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44850&action=edit Zipped file of MARC records -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bgkriegel@gmail.com --- Comment #2 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- Hi Jesse, may be I don't know which is the best solution to your problem, but as far as I understand 880 is not only to titles, but for any field that needs another graphical representation. I did a test with and Arabic title in a 246 field as parallel title, and I can found it from staff/opac as title without modifications. BTW, your zip file have a zero byte record. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 --- Comment #3 from Jesse Lambertson <jesse@meta21st.com> --- (In reply to Bernardo Gonzalez Kriegel from comment #2)
Hi Jesse, may be I don't know which is the best solution to your problem, but as far as I understand 880 is not only to titles, but for any field that needs another graphical representation.
I did a test with and Arabic title in a 246 field as parallel title, and I can found it from staff/opac as title without modifications.
BTW, your zip file have a zero byte record.
I will reupload the MARC file then just for examples from our records. Thank you. Strange, Regarding the Arabic searching. You are correct that the issue affects all Arabic script in 880 fields. 245 and 246 will search because they are ALREADY indexed. 880s are not indexed separately from "keyword" searching so we can't search Arabic in any other way than in "keyword." Thank you, Jesse -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 --- Comment #4 from Jesse Lambertson <jesse@meta21st.com> --- Created attachment 44876 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44876&action=edit MARC upload with a few examples with 880s Faulty upload before, this file has a few records in it. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.tajoli@cineca.it Attachment #44850|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Medium patch Keywords|rel_3_22_candidate | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|3.20 |master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|PC |All OS|Windows |All -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 Jesse Lambertson <jesse@meta21st.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Adding 880 Fields to |Adding 880 Fields to |index-list in order to |index-list in order to |increase Search or RTL |Increase Search for ALL |Script (Arabic) |non-latin Scripts -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org