Implemented full text search on given field. Minor refactoring.