mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-17 14:21:20 +00:00
[MNT-23987] Restored contentIndexingIsEnabled IF statement
This commit is contained in:
@@ -2427,6 +2427,11 @@ public class SolrInformationServer implements InformationServer
|
|||||||
contentIndexingHasBeenEnabledOnThisInstance
|
contentIndexingHasBeenEnabledOnThisInstance
|
||||||
&& contentIndexingHasBeenRequestedForThisNode;
|
&& contentIndexingHasBeenRequestedForThisNode;
|
||||||
|
|
||||||
|
if (!contentIndexingIsEnabled)
|
||||||
|
{
|
||||||
|
markAsContentInSynch(document);
|
||||||
|
}
|
||||||
|
|
||||||
final BiConsumer<String, Object> setValue = document::setField;
|
final BiConsumer<String, Object> setValue = document::setField;
|
||||||
final BiConsumer<String, Object> addValue = document::addField;
|
final BiConsumer<String, Object> addValue = document::addField;
|
||||||
final BiConsumer<String, Object> collectName = (name, value) -> addFieldIfNotSet(document, name);
|
final BiConsumer<String, Object> collectName = (name, value) -> addFieldIfNotSet(document, name);
|
||||||
|
Reference in New Issue
Block a user