Fix realtime search engine indexation
Merge pull request #645 from romainneutron/fix-1462

[3.8] Fix realtime search engine indexation