protected virtual void SendIndexingEntity(Entity entity, GlobalSearchIndexingOperationType indexingOperationType)
        {
            var indexingData =
                IndexingRequestDataBuilder.BuildRequestData(entity.UserConnection, indexingOperationType, entity);

            IndexingEntitySender.SendIndexingEntity(indexingData);
        }
 /// <summary>
 /// Sends entity to indexation.
 /// </summary>
 /// <param name="entity">Entity.</param>
 /// <param name="indexingOperationType">Operation type <see cref="IndexingOperationType"/></param>
 public void IndexEntity(Entity entity, GlobalSearchIndexingOperationType indexingOperationType)
 {
     if (!GetIsGlobalSearchFeatureEnabled(entity.UserConnection))
     {
         return;
     }
     SendIndexingEntity(entity, indexingOperationType);
 }