Added basic text indexing and search functionality