You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**NOTE: As of version 2.5.2, the following parameters (oai_repository_name, oai_record_prefix, and oai_admin_email) have been deprecated. They should be set in the Staff User Interface. To set them, select the System menu in the Staff User Interface and then select Manage OAI-PMH Settings. These three settings are at the top of the page in the General Settings section. These settings will be completely removed from the config file when version 2.6.0 is released.**
226
220
227
221
#### `AppConfig[:oai_repository_name]`
@@ -279,46 +273,32 @@ want ArchivesSpace to put its data files elsewhere.
279
273
280
274
#### `AppConfig[:backup_directory]`
281
275
282
-
> TODO - Needs more documentation
276
+
Directory to store automated backups when using the embedded demo database (Apache Derby instead of MySQL). This defaults to `demo_db_backups` within the `data` directory.
The maximum number of distinct facet terms Solr will include in the response for a given field.
309
291
310
292
`AppConfig[:solr_facet_limit] = 100`
311
293
312
294
#### `AppConfig[:default_page_size]`
313
295
314
-
> TODO - Needs more documentation
315
-
296
+
The number of records included in each page in all paginated backend api responses.
316
297
`AppConfig[:default_page_size] = 10`
317
298
318
299
#### `AppConfig[:max_page_size]`
319
300
320
-
> TODO - Needs more documentation
321
-
301
+
Requests to the backend api can define a custom page_size param. This is the maximum allowed page size.
322
302
`AppConfig[:max_page_size] = 250`
323
303
324
304
### Cookie prefix
@@ -332,119 +312,141 @@ Default is "archivesspace".
332
312
333
313
`AppConfig[:cookie_prefix] = "archivesspace"`
334
314
335
-
### Indexer settings
315
+
### SUI Indexer settings
336
316
317
+
The size of each batch of records passed to each indexer worker-thread to process and push to solr.
337
318
The periodic indexer can run using multiple threads to take advantage of
338
319
multiple CPU cores. By setting these two options, you can control how many
339
320
CPU cores are used, and the amount of memory that will be consumed by the
340
321
indexing process (more cores and/or more records per thread means more memory used).
341
322
342
323
#### `AppConfig[:indexer_records_per_thread]`
343
324
325
+
The size of each batch of records passed to each indexer worker-thread to process and push to solr. More records per thread means that more memory will be used by the indexer process.
344
326
`AppConfig[:indexer_records_per_thread] = 25`
345
327
346
328
#### `AppConfig[:indexer_thread_count]`
347
329
330
+
The number of worker-thread to be used by the SUI indexer. More worker-threads means that more CPU cores will be used.
348
331
`AppConfig[:indexer_thread_count] = 4`
349
332
350
333
#### `AppConfig[:indexer_solr_timeout_seconds]`
351
334
352
-
> TODO - Needs more documentation
335
+
The indexer is making requests to solr in order to push updated records to the solr index. This is the maximum number of seconds that the indexer will wait for solr to respond to a request.
353
336
354
337
`AppConfig[:indexer_solr_timeout_seconds] = 300`
355
338
356
339
### PUI Indexer Settings
357
340
358
341
#### `AppConfig[:pui_indexer_enabled]`
359
342
360
-
> TODO - Needs more documentation
361
-
343
+
If false no pui indexer is started. Set to false if not using the PUI at all.
362
344
`AppConfig[:pui_indexer_enabled] = true`
363
345
364
346
#### `AppConfig[:pui_indexing_frequency_seconds]`
365
347
366
-
> TODO - Needs more documentation
367
-
348
+
The number of seconds between each run of the PUI indexer. The indexer will perform and indexing cycle every configured number of seconds.
368
349
`AppConfig[:pui_indexing_frequency_seconds] = 30`
369
350
370
351
#### `AppConfig[:pui_indexer_records_per_thread]`
371
352
372
-
> TODO - Needs more documentation
353
+
The size of each batch of records passed to each indexer worker-thread to process and push to solr.
354
+
The PUI indexer can run using multiple threads to take advantage of
355
+
multiple CPU cores. By setting these two options, you can control how many
356
+
CPU cores are used, and the amount of memory that will be consumed by the
357
+
indexing process (more cores and/or more records per thread means more memory used).
373
358
374
359
`AppConfig[:pui_indexer_records_per_thread] = 25`
375
360
376
361
#### `AppConfig[:pui_indexer_thread_count]`
377
362
378
-
> TODO - Needs more documentation
379
-
363
+
The number of worker-thread to be used by the PUI indexer. More worker-threads means that more CPU cores will be used.
380
364
`AppConfig[:pui_indexer_thread_count] = 1`
381
365
382
366
### Index state
383
367
384
368
#### `AppConfig[:index_state_class]`
385
369
386
-
Set to 'IndexStateS3' for amazon s3
387
-
388
-
> TODO - Needs more documentation
370
+
The indexer needs a place to store it's state (keep track of which records have already been indexed).
371
+
Set to 'IndexState' (default) to store the state in the local `data` directory.
372
+
Set to 'IndexStateS3' (optional) to store the state in an AWS S3 bucket in the Amazon Cloud.
389
373
390
374
`AppConfig[:index_state_class] = 'IndexState'`
391
375
392
-
#### `AppConfig[:index_state_s3]`
376
+
#### `AppConfig[:index_state_s3]` - Relevant only when using S3 storage for the indexer state
393
377
394
-
Store indexer state in amazon s3 (optional)
395
-
NOTE: s3 charges for read / update requests and the pui indexer is continually
396
-
writing to state files so you may want to increase pui_indexing_frequency_seconds
378
+
If using S3 storage for the indexer state in amazon s3 (optional), you need to configure the access to S3.
397
379
398
-
> TODO - Needs more documentation
380
+
NOTE: S3 charges for read / update requests and the pui indexer is continually
381
+
writing to state files so you may want to increase `pui_indexing_frequency_seconds` and `solr_indexing_frequency_seconds`
382
+
383
+
##### Configuring S3 access using environment variables (default)
384
+
385
+
By default, the S3 configuration is fetched from the following shell environment variables:
386
+
387
+
-`AWS_REGION`
388
+
-`AWS_ACCESS_KEY_ID`
389
+
-`AWS_SECRET_ACCESS_KEY`
390
+
-`AWS_ASPACE_BUCKET`
391
+
392
+
It is using the `:cookie_prefix` configuration as a prefix for the state files stored in the bucket - usefull when using the same bucket to store indexer state of multiple archivesspace instances.
393
+
394
+
##### Configuring S3 access using AppConfig variable in the `config.rb` file
You can use `prefix: "some random string"` instead of the above code that used the `:cookie_prefix` AppConfig variable.
407
+
410
408
### Misc. database options
411
409
412
410
#### `AppConfig[:allow_other_unmapped]`
413
411
414
-
> TODO - Needs more documentation
412
+
Allow assigning the special enumeration value `other_unmapped` for dynamic enum (controlled value) fields. When set to `true``other_unmapped` is treated as a valid value for all enumeration (controlled value) fields. The `other_unmapped` value is added as a possible value for all controlled value lists.
413
+
This feature is designed for handling unmapped or unknown enumeration values, eventually useful during data migrations where source data may have values not yet defined in controlled value lists, or generally importing external data that uses values that are not already defined in a controlled value list.
415
414
416
415
`AppConfig[:allow_other_unmapped] = false`
417
416
418
417
#### `AppConfig[:db_url_redacted]`
419
418
420
-
> TODO - Needs more documentation
419
+
This is how the database url (which includes the database username and password) will appear in the logs. The default replaces the username and password with `REDACTED`, so that:
When using the embedded demo database (Apache Derby instead of MySQL) this is the schedule of the automated backups, in cron format. By default, it is at 4AM every day.
Don't override this setting unless you know what you're doing
@@ -545,14 +553,18 @@ to the regular backend URL.
545
553
546
554
### Theme
547
555
548
-
> TODO - Needs more documentation
556
+
For theming customization, see https://docs.archivesspace.org/customization/theming/
549
557
550
558
#### `AppConfig[:frontend_theme]`
551
559
560
+
Name of the theme to use on the Staff UI
561
+
552
562
`AppConfig[:frontend_theme] = "default"`
553
563
554
564
#### `AppConfig[:public_theme]`
555
565
566
+
Name of the theme to use on the Public UI
567
+
556
568
`AppConfig[:public_theme] = "default"`
557
569
558
570
### Session expiration
@@ -571,25 +583,28 @@ Sessions marked as non-expirable will eventually expire too, but after a longer
571
583
572
584
### System usernames
573
585
574
-
> TODO - Needs more documentation
586
+
Hidden (not viewable on the Staff UI User management) system users are automatically created to be used by the indexer, the PUI and the Staff UI in order to access the backend API.
575
587
576
588
#### `AppConfig[:search_username]`
577
589
590
+
The user name of the hidden system user that the indexer uses to access the backend API
578
591
`AppConfig[:search_username] = "search_indexer"`
579
592
580
593
#### `AppConfig[:public_username]`
581
594
595
+
The user name of the hidden system user that the PUI uses to access the backend API
The user name of the hidden system user that the Staff UI uses to access the backend API
602
+
586
603
`AppConfig[:staff_username] = "staff_system"`
587
604
588
605
### Authentication sources
589
606
590
-
> TODO - Needs more documentation
591
-
592
-
#### `AppConfig[:authentication_sources]`
607
+
ArchivesSpace comes with its own user management functionality but can also be configured to authenticate against one or more [LDAP directories](/customization/ldap/). Oauth authentication is available using the [aspace-oauth plugin](https://github.com/lyrasis/aspace-oauth)
593
608
594
609
`AppConfig[:authentication_sources] = []`
595
610
@@ -601,15 +616,19 @@ Sessions marked as non-expirable will eventually expire too, but after a longer
601
616
602
617
`AppConfig[:realtime_index_backlog_ms] = 60000`
603
618
619
+
### Notifications configuration
620
+
621
+
An internal notification mechanism is used to keep user preferences, enumeration (controlled value list) values, repository information etc. up to date within the UI while minimizing requests to the backend API.
622
+
604
623
#### `AppConfig[:notifications_backlog_ms]`
605
624
606
-
> TODO - Needs more documentation
625
+
Notifications older that this amount of miliseconds are considered expired and will not be announced anymore.
0 commit comments