Commit Graph

30 Commits

Author SHA1 Message Date
Kike Franssen
96160b5665 OP-3668: Backend - Improvements on creating new organisation in Brussel municipality (#574)
Backend changes for the tickets under OP-3668. Added the migrations shown in the ticket with added dct source. For the second ticket de mu-search indexing config was changed. (Notice for testing, you need to run scripts/reset-elastic.sh to test).
2025-10-23 10:32:46 +02:00
mirdono
3a375a4581 chore: remove unused indexes for positions
The indexes for the municipality and province of a position's organisation are
not used in the app. Removing them to decrease the time required to index data.
2025-01-28 21:12:00 +01:00
mirdono
2666301048 chore: align search service configuration for dev and prod
This makes diff'ing the dev and prod configurations for the `search` service
slightly more readable.

- use same order of eager index entries with prod confiuration
- remove an extra normalizer setting in the dev config
- remove duplicate person id index
- correct property name in identifier mappings
- add missing `first_name_used` mappings
- order properties and mappings consistently across file
2025-01-28 21:11:22 +01:00
mirdono
e10c825f75 fix: index municipality names as keywords instead of regular text
Index municipality names as keywords instead of as plain text. This prevents
them from being split at word separators. Thereby avoiding that searches for a
municipality name, as used by the frontend's municipality filter, return
organisations whose municipality is a partial match.

For example, previously the results when searching for "Puurs" also included the
organisations located in "Sint-Amands-Puurs". The latter was tokenized into
three terms, therefore also matching plain "Puurs". By treating the municipality
name as keyword this split non longer happens.
2025-01-22 17:02:43 +01:00
mirdono
f562d711f9 fix: corrected typo in search configuration 2024-06-10 14:17:09 +02:00
mirdono
bf77794d08 fix: removed faulty trailing comma 2024-05-22 12:22:50 +00:00
mirdono
89435073c7 feat: include registered organizations in search index 2024-05-22 12:22:50 +00:00
mirdono
d28cb221da refactor: renamed units index to organizations
Soon we want to introduce (additional) non-administrative unit
organizations. This renaming makes it more clear this index is not limited to
administrative units, both here as where it is used in the frontend. Note,
technically the 'units' name was already incorrect as a 'Representatief orgaan'
is not an administrative unit.
2024-05-16 15:03:54 +00:00
mirdono
84d59bb173 feat: include alternative name in search index 2024-03-14 15:29:59 +00:00
mirdono
36670ebfa4 feat: index legal name for administrative units 2024-03-04 09:20:12 +00:00
mirdono
375865e548 Renamed Agent/Agents to Functionary/Functionaries 2023-11-20 08:59:08 +01:00
Nordine Bittich
3f37d7ebbc Feature/non admin units (#342) 2023-10-30 09:05:06 +01:00
Alexander van den Berghe
81963cb4c8 Fix: add an alphanumeric only index field for identifiers 2023-10-06 19:27:21 +02:00
Alexander van den Berghe
0265b73a27 Index identifiers for administrative units 2023-10-04 10:32:06 +02:00
Nordine Bittich
f7f654df2f Feat/remove beheerder (#243) 2023-02-28 17:19:08 +01:00
Nordine Bittich
acaca124c2 hard split (#223) 2023-02-27 15:28:18 +01:00
Nordine Bittich
d61b7c6c45 fix missing persons & use standard mu search (#207) 2023-01-08 10:15:17 +01:00
Claire Lovisa
74b2095448 Index functionarissen as well 2022-08-02 15:33:42 +02:00
Claire Lovisa
cdba19fdc8 Add org classification to the index 2022-07-26 08:11:57 +02:00
Claire Lovisa
df0e928b83 Index all mandataries, not just religious ones 2022-06-17 15:58:53 +02:00
Claire Lovisa
7010d53567 Merge branch 'development' into poc/add-gemeenten 2022-05-10 15:53:12 +02:00
Nordine Bittich
dcb0ad63ba fix sorting case insensitive (#123) 2022-04-04 15:15:22 +02:00
Claire Lovisa
c9d7906b30 Merge branch 'development' into poc/add-gemeenten 2022-03-11 13:52:47 +01:00
Nordine Bittich
44c5cc4f67 fix index (#116)
* fix index

* add combination of editeerder / beheerder

* add all possible combinations
2022-03-09 16:45:26 +01:00
Nordine Bittich
dbf5fce41e bump frontend & reduce nb threads for mu search indexing 2022-03-03 09:21:40 +01:00
Claire Lovisa
9bd1140944 Update mu-search config 2022-03-02 14:37:42 +01:00
Nordine Bittich
61deab8212 List all positions for a person (ministers + mandatories) & bug fix editing issue with delta (#105) 2022-02-28 15:26:39 +01:00
Nordine Bittich
ddc679b2d7 bugfix 2022-02-11 11:34:42 +01:00
Nordine Bittich
f6b2c963f3 improve perf bestuur 2022-02-11 06:35:08 +01:00
Nordine Bittich
3e14d92c29 mu search page person (#97) 2022-02-07 07:50:37 +01:00