mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
JavaDocs
This commit is contained in:
@@ -53,6 +53,13 @@ public class DiscoveryConfiguration implements InitializingBean {
|
|||||||
private boolean spellCheckEnabled;
|
private boolean spellCheckEnabled;
|
||||||
private boolean indexAlways = false;
|
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() {
|
public boolean isIndexAlways() {
|
||||||
return indexAlways;
|
return indexAlways;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user