Bug 23359 - Problem with batch operations
Summary: Problem with batch operations
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-23 09:09 UTC by Vitor Fernandes
Modified: 2019-07-23 09:12 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
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 Vitor Fernandes 2019-07-23 09:09:04 UTC
Using ElasticSearch when you do a batch operation, like adding items or removing items, the record is reindexed every time that one item is changed (added or removed).

Operations with this problem:

- Add mutiple copies to one record
- Remove all record items
- Edit some or all record items

Test plan 1:

- Create a record
- Add mutiple copies to that record (1000 for example)
- Record will be at least reindexed 1000 times (one for each item)

Test plan 2:

- Create a record with mutiple copies (1000 for example)
- Remove all items
- Record will be at least reindexed 1000 times (one for each item)