https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35330

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |ity.org                     |o.uk
             Status|NEW                         |Needs Signoff

--- Comment #2 from Martin Renvoize (ashimema) 
<[email protected]> ---
Hi Katrin,

Now that bug 39287 has added a narrower index for the volumes of a record, I
have attached a patch that does the same for the components (analytics) of a
record. It depends on bug 39287.

rcn-components only holds the $w of 773, the field that links a component part
to its host item, for Zebra and for Elasticsearch. It is used in
get_components_query and in the Analytics link of the staff interface and OPAC
detail pages. I also changed the series links (800, 810, 811 and 830) in the
staff interface and OPAC to use rcn-volumes, as was done for Show volumes.
Nothing in the code uses the general rcn index any more, but it stays available
for searching.

This removes false components: with the old index, a component part (bib-level
a or b) that links to a record through 776 or 780 was also found as a component
of it. I checked this on Elasticsearch 8: the old query found 3 records, 2 of
them linked through 776 and 780, and the new one finds only the record linked
through 773. There is an atomic update for existing Elasticsearch installations
and a test that checks that Zebra and Elasticsearch index the same fields.

Existing installations need to reindex (and with Zebra copy bib1.att,
ccl.properties and biblio-zebra-indexdefs.xsl to their configuration first), so
this needs a release note.

I am setting this to Needs Signoff.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to