After googling and searching I found out that for a particular file /home/user/example file.doc the corresponding thumbnail is in $XDG_CACHE_HOME/thumbnails/normal/hash.png, where hash=md5("file:///home/user/example%20file.doc")
(I found that in a relevant question and the Thumbnail Managing Standard)
But when the thumbnail is not generated yet, how do I trigger the generation?
I've tried exploring d-bus with d-feet, but didn't spot a relevant call.