Implement importing of text into an index