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