IIn this Elasticsearch mapping file, 18nIncludeInAll is a method that determines which fields from other entities will be included in the global search results for the current target entity - in this case, which fields from other tables and entities will be included in the information object (i.e. archival description) results. As you can see in the linked version above from our development branch (qa/2.x), the only repository field we index as part of archival descriptions is the authorized form of name.
It's possible further changes have been made in the 2.7.x minor releases, but otherwise, any local differences may imply that a previous upgrade process was not performed correctly, or that someone in your institution has made those changes on purpose.
If you wanted to edit this block and remove some fields, it theoretically shouldn't break anything so long as you restart and reindex after. However, we always recommend making a backup of your data before messing with code, just in case!
If you do make changes, be sure to do the following afterwards:
- Restart Elasticsearch
- sudo systemctl restart elasticsearch
- Clear the application cache
- Restart PHP-FPM
- sudo systemctl restart php7.4-fpm
- Reload Nginx (might not be necessary, but might as well)
- sudo systemctl reload nginx
- Repopulate the search index.
- php symfony search:populate
Let us know if that helps.