Logging for opening document via search or suggestion result page