Bug 23359 - Problem with batch operations and indexing
Summary: Problem with batch operations and indexing
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: 2023-10-08 11:57 UTC (History)
2 users (show)

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 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)
Comment 1 Vitor Fernandes 2020-03-03 14:50:25 UTC
Bug #22417 could help with this problem.