diff --git a/dspace-api/src/main/java/org/dspace/discovery/configuration/DiscoveryConfiguration.java b/dspace-api/src/main/java/org/dspace/discovery/configuration/DiscoveryConfiguration.java index f9037420bf..9ff6f9941b 100644 --- a/dspace-api/src/main/java/org/dspace/discovery/configuration/DiscoveryConfiguration.java +++ b/dspace-api/src/main/java/org/dspace/discovery/configuration/DiscoveryConfiguration.java @@ -53,6 +53,13 @@ public class DiscoveryConfiguration implements InitializingBean { private boolean spellCheckEnabled; private boolean indexAlways = false; + /** + * The `indexAlways` property determines whether the configuration should always be included when indexing items. + * The default value is false which implies the configuration is only used when it matches the collection or if + * it's the default configuration + * When set to true, the configuration is also used to index an item without a specific collection mapping + * This can be used for displaying different facets depending on the type of item instead of the collection + */ public boolean isIndexAlways() { return indexAlways; }