Bug 25479 - TraceCompleteSubfields does not work as expected
Summary: TraceCompleteSubfields does not work as expected
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Zebra (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement with 10 votes (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-13 10:21 UTC by Nick Clemens (kidclamp)
Modified: 2020-05-13 10:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2020-05-13 10:21:22 UTC
See section 2.4.5:
https://software.indexdata.com/zebra/doc/querymodel-rpn.html

attr 6=2 'complete subfield' is deprecated and translates to 'complete field'

In terms of our implementation this means that you must activate both:
TraceCompleteSubfields
TraceSubjectSubdivisions

otherwise you search the whole field for a match on a partial subfield.

Furthermore, for a record with an authority number included the search will fail, e.g.:
su,complete-field:"Computer programming." - returns 0 results
su,complete-field:"Computer programming 973" - returns correct result