Searching files ignores headings

What I’m trying to do

I am searching for a string, it’s included both in places in the text as well as in headings. Only the text results are being returned.

It should also return the headings where that text is present. I can’t thing of a reason why headings would be excluded from search especially headings are what I’m most likely to remember when looking for a block of information.

Things I have tried

There are references to searching when creating links, regex options for the searching, and explanation of what the three search settings do, but nothing about how to enable search to include headings by default.

Do you maybe have case-sensitivity turned on? The “Aa” button.

Ok, so your comment made it sound like searching should already work like that.
So I poked around settings and found “Rebuild Vault cache” which seems to have fixed it. I went from 8 results in search up to 21 and that looks like it’s all the results I’m expecting (I’ll crossreference with a grep on the files later).

1 Like