Angular 21#236
Conversation
Bulk import mapping values Check if the mapping exists and prevent duplication
Fix compatability issues Migrate to routes.ts Remove unwanted modules
|
Thanks @mohammadsalem. I tested this by copying the Next I tried a full re-index, which takes about eight hours unfortunately, and I ran into a few issues. The harvest was successful, but when committing the index I got a timeout: [Nest] 1 - 01/21/2026, 12:39:03 PM DEBUG [HarvesterService] Starting Harvest ares
[Nest] 1 - 01/21/2026, 12:39:04 PM DEBUG [HarvesterService] ares: Delete temp
[Nest] 1 - 01/21/2026, 12:39:04 PM DEBUG [HarvesterService] ares: Create temp
[Nest] 1 - 01/21/2026, 12:39:08 PM DEBUG [DSpace7 harvester] Starting Harvest => 153814
[Nest] 1 - 01/21/2026, 12:39:14 PM DEBUG [DSpace7 harvester] Starting Harvest => 13932
[Nest] 1 - 01/21/2026, 12:39:18 PM DEBUG [DSpace7 harvester] Starting Harvest => 6463
[Nest] 1 - 01/22/2026, 6:43:05 AM DEBUG [HarvesterService] reindex function is called
[Nest] 1 - 01/22/2026, 6:43:05 AM DEBUG [HarvesterService] updateAliases final to temp
[Nest] 1 - 01/22/2026, 6:43:05 AM DEBUG [HarvesterService] Delete final
[Nest] 1 - 01/22/2026, 6:43:05 AM DEBUG [HarvesterService] Create final
[Nest] 1 - 01/22/2026, 6:43:36 AM LOG [HarvesterService] TimeoutError: Request timed out
[Nest] 1 - 01/22/2026, 6:43:36 AM DEBUG [HarvesterService] Reindex to final
[Nest] 1 - 01/22/2026, 6:43:36 AM DEBUG [HarvesterService] updateAliases temp to final
[Nest] 1 - 01/22/2026, 6:43:36 AM DEBUG [HarvesterService] Delete temp
[Nest] 1 - 01/22/2026, 6:43:36 AM DEBUG [HarvesterService] Create temp
[Nest] 1 - 01/22/2026, 6:43:36 AM DEBUG [HarvesterService] Indexing finishedAnd then there are only 101,000 items on the dashboard, instead of ~173,000. Not sure if that is just a one-time bug, but I'd need to do a full re-harvest to test I think. Second, I consistently see an issue that may be related to above. Filters don't work, and exports say "something when wrong". In the backend logs I see this a few times: Error: ResponseError: search_phase_execution_exception
Root causes:
query_shard_exception: No mapping found for [issue_date] in order to sort on
at ElasticService.get (/backend/dist/shared/services/elastic/elastic.service.js:252:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExportController.ExportData (/backend/dist/export/export.controller.js:36:50)
at async /backend/node_modules/@nestjs/core/router/router-execution-context.js:46:28
at async /backend/node_modules/@nestjs/core/router/router-proxy.js:9:17 |
|
Thank @alanorth! The indexing issue I'm not sure about it, this upgrade should not affect the indexing as it was mainly on the frontend. |
- Multiple fields levels for each chart, specifying the limit and the order. - Metric type for all charts. - Add sunburst chart - Bar chart orientation and grouping types - Map with pies on top. - Switch between line and area.
Note: there is no auto migration script to convert the old dashboard configs to the new one. The old structure will not work and the dashboard will not render. To fix it all counters must be edited and saved (so they take the new structure) and the charts should be edited filling the missing configs and saved. Then finally saving the dashboard. |
- Include the counter index, avoiding conflicting when the same source is selected. - This also fix filters mistakenly pre-filling with aggs specific pre-filtering
Upgrade to Angular 21 and remove old unsupported dependencies.