BAP-5205: Reindex should be platform agnostic
 - moved truncate logic to ORM search driver
 - small code fixes
BAP-5205: Reindex should be platform agnostic
 - small code fixes
Merge branch 'master' into fix/BAP-5205_orm_reindex
BAP-5205: Reindex should be platform agnostic
 - fixed CR issues
Merge pull request #2529 from laboro/fix/BAP-5205_orm_reindex

BAP-5205: Reindex should be platform agnostic
BAP-498: Investigate failed builds
 -  CR changes
BAP-498: Investigate failed builds
 -  revert changes
Merge remote-tracking branch 'remotes/dev/master'