I've been working on a solution to this: https://diva.so mainly cause I had the same issue.
It's a third-party service unfortunately, but it can index the contents of your bookmarks + other sources to let you search them. I haven't got it to work locally yet since the search needs a decently large server to work (I want to use a LLM eventually) but I do encrypt all data. I don't know how it compares to similar systems linked here, but I'm down to try to help you out to set it up in a way to your liking.