initial text search implementation