Indexes work

May be there is a problem with links to documents. Seriallized indexes
contain documents content, but not links. To be fixed