+1 to this.
Even an opinionated way of doing relevance/best/score/whatever-you-want-to-call-it would be helpful for me. e.g. if I search for John Smith, then a note with “John H Smith” on one line should rank above a file with “John” on line 2 and “Smith” on line 180.