Commit Graph

32 Commits

Author SHA1 Message Date
Tim Donohue
7dfb51e05a Merge pull request #8980 from toniprieto/index-consumer-readonly-mode
Improve performance of discovery consumer when there are many items to index
2023-11-03 10:55:28 -05:00
Toni Prieto
00a65312cc Flush database changes after switching to READONLY mode 2023-10-13 20:52:08 +02:00
Toni Prieto
c33d3fa87d Add functions to do a manual flush of the db session and call flush before change to READ_ONLY mode to be sure we index the current object 2023-10-13 20:13:59 +02:00
Toni Prieto
94822b50af Change the database mode to READ_ONLY during the indexing by discovery consumer (IndexEventConsumer) 2023-10-13 20:13:59 +02:00
Tim Donohue
ef7f02fe81 Fix "Site cannot be indexed" error by ignoring ADD/REMOVE events on Site object 2023-09-13 16:56:29 -05:00
Marie Verdonck
77fee75304 90830: issue 8125 - add status to all newly added items 2022-04-28 12:06:30 +02:00
Kristof De Langhe
80158aadfe 90830: Issue 8125: Import items stale in discovery 2022-04-20 13:21:35 +02:00
Kristof De Langhe
0ae13fe0fb 90830: Issue 8125: Import items stale in discovery - intermediate commit 2022-04-19 17:45:59 +02:00
Yura Bondarenko
e23f2980e0 77817: Add subject null check 2021-04-01 09:48:41 +02:00
Yura Bondarenko
9b748790c8 77817: Update mapped/unmapped Items in IndexEventConsumer 2021-04-01 09:44:39 +02:00
Mykhaylo
66a8b1c7df added fix that able to delete solr record 2021-03-11 10:47:35 +01:00
Andrea Bollini
f5aac1eefa Fix zombie workspaceitem in the solr index, improve ITs to cover all the scenarios 2021-01-27 16:43:44 +01:00
Kevin Van de Velde
31fc4cb023 Fixing the tests & the style issues 2021-01-14 13:35:05 +01:00
Yana De Pauw
a9fe4ae1d1 75409: Delete solr record on workspaceitem deletion: Test feedback V2 2021-01-13 15:24:32 +01:00
Kevin Van de Velde
53685eb101 Merge branch 'master' into DS-4443_delete-solr-record-on-workspaceitem-deletion 2020-10-09 09:02:21 +02:00
Marie Verdonck
2f26cf7def 71752: Refactored metadatafield indexing via event > consumer 2020-08-21 16:07:07 +02:00
Raf Ponsaerts
d5d1edffb4 [DS-4443] fixed the solr record deletion after workspaceitem removal and added a test for it 2020-04-03 11:11:58 +02:00
Samuel
274ca1fcb2 taskid 68458 optimize performance - IndexEventConsumer change 2020-01-31 13:14:44 +01:00
Kevin Van de Velde
4c9a30bb14 [DS 4287] Refactoring the IndexableObject & SolrServiceImpl to become more expandable 2019-11-29 14:26:50 +01:00
Andrea Bollini
6fd5a76837 DS-4166 community feedback: code cleanup 2019-04-04 12:56:55 +02:00
Andrea Bollini
30899b0e55 DS-4166 move IndexableObject to the discovery package 2019-03-28 13:20:47 +01:00
Andrea Bollini
4b85bf4c56 DS-4166 community feedback: rename BrowsableObject to IndexableObject 2019-03-27 20:31:22 +01:00
Andrea Bollini
499fdcd61c DS-4166 renamed BrowsableDSpaceObject in BrowsableObject 2019-03-07 01:11:14 +01:00
Andrea Bollini
c56e41aec2 DS-4166 Index workspace, workflow and tasks in SOLR 2019-02-25 10:03:15 +01:00
Patrick Trottier
7f4b4e9f8a Convert getLogger() and Log4J imports for Log4J 2 2018-11-09 08:41:42 -05:00
Tim Donohue
8a48f782ea Fix dspace-api module per new code style 2018-02-21 15:23:58 -06:00
Alexander Sulfrian
388558792c DS-3660: Fix discovery reindex on metadata change
Stored objects may get evicted from the session cache and get into detached
state. Lazy loaded fields are inaccessible and throw an exception on access.

Before using objects they have to be reloaded (retrieved from the
database and associated with the session again).
2017-08-09 19:31:27 +00:00
Mark H. Wood
f783cb4a4f Merge pull request #1104 from tdonohue/DS-2654-common-config
DS-2654: Enhanced Configurations via Apache Commons Configuration
2016-01-29 13:49:03 -05:00
KevinVdV
0d79a7109a Create factory to retrieve an instance of the "configurationService" object 2016-01-25 14:36:22 -06:00
Tim Donohue
3e93d6e55d Remove obsolete references to deprecated DSIndexer class 2016-01-04 16:27:52 -06:00
KevinVdV
54222f3c1d DSpace refactored service api 2015-08-19 11:54:32 +02:00
Mark Diggory
e24aaffe83 [DS-1144] Maven Project Consolidation : Discovery 2012-10-03 03:29:05 -07:00