Document is indexed after receiving the corresponding signals.
TODO: bulk indexing.