Return Value
The search index ready for serialisation.
Discussion
This builds and returns the complete search index for the indexed documents. Documents are ordered by their identifier, so the index does not depend on the order in which pages were processed.