Bug 17131

Summary: Zebra index for Title is too broad
Product: Koha Reporter: Barton Chittenden <barton>
Component: SearchingAssignee: Galen Charlton <gmcharlt>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: caroline.cyr-la-rose, marjorie.barry-vila, nikeshn, patrick.robitaille
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Test file

Description Barton Chittenden 2016-08-15 15:12:08 UTC
Created attachment 54482 [details]
Test file

One of the zebra index definitions in marc21/biblios/biblio-koha-indexdefs.xml for Title includes the entire 245 tag:

  <!--record.abs line 116: melm 245        Title:w,Title:p-->
  <index_data_field tag="245">
    <target_index>Title:w</target_index>
    <target_index>Title:p</target_index>
  </index_data_field>

Since 245$c can contain Author, this means that author names will show up in Title searches.
Comment 1 Barton Chittenden 2016-08-15 15:18:45 UTC
To reproduce:

In the staff client

1/ Import the attached test file.
2/ Make sure the bib record has been indexed -- you can do a keyword search for 'The masks of god' to verify.
3/ Go to advanced search, do a title search for 'Campbell' -- This will return results for 'The masks of god', even though 'Campbell' is not in the title.
Comment 2 Katrin Fischer 2019-02-10 02:13:40 UTC
I've added an index to our installations that only indexed 245abnp. Would this work? If yes, what should the index be called?
Comment 3 Caroline Cyr La Rose 2019-11-18 20:51:30 UTC
I've had comments from several libraries that Title should not search in 245$c, which I agree with. 245$c is statement of responsibility. For library users, this will never mean title.
Comment 4 Katrin Fischer 2019-11-18 22:33:54 UTC
*** Bug 19364 has been marked as a duplicate of this bug. ***