DocOnly construct index