Bug 17131 - Zebra index for Title is too broad
Summary: Zebra index for Title is too broad
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
: 19364 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-15 15:12 UTC by Barton Chittenden
Modified: 2019-11-18 22:33 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Test file (1.34 KB, text/plain)
2016-08-15 15:12 UTC, Barton Chittenden
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***