def METHOD_NAME(self):
    """
    Builds each subindex.
    """
    for METHOD_NAME in self.indexes.values():
        METHOD_NAME.METHOD_NAME(self.documents)
    # Reset document stream
    self.documents.close()
    self.documents = None