Implementing utlility methods for searching notes.