Index and query a documentedit

See Index some documents.