Selective Indexing

It's possible that this is something that's already supported through the index API, but I just haven't had the time to really dig into it yet and figured it'd be worth just asking in case someone more familiar with it could just answer.

I have a couple of different things I'd like to add to my notes as more of a reference of sorts, rather than an actual part of my notes. These would be things that would theoretically only need to be indexed once (or at least could be indexed manually) as they wouldn't change very often.

One example would be setting up a markdown copy of rules text for D&D, so that when I'm taking session notes I could link to or embed the monster/magic weapon/npc/etc data.

Another would be to set up a markdown copy of the Bible so I can link to it from sermon notes, bible study notes, etc.. and so on.

Some of these reference objects could get quite large in both numbers of pages and number of indexable objects per page and I've already started to see it impacting the indexing time with just a minimal implementation of the idea. I'd imagine reading an "index file" and loading from it would be a lot faster than scanning all those pages every time?

Really, there's probably an endless number of reasons why someone might use something like this. It could probably be just simplified down to setting up some sort of save/load functionality for the indexing that can include/exclude specific folder trees.

Possibly somewhat related, I've started migrating some of my old notes from Notion and still haven't figured out a good way to reimplement their concept of a database just yet. I don't know that I want to have to create separate pages for every row item (but could probably easily script it out if that's the best option). Maybe a combination of a custom indexer and a virtual page template for the csv files would work?

I'd be thrilled if I could just create this through the current API, and could spend the time on implementing it if needed, but I just don't have the time to explore it as just a possibility right now.

I'd also be open to any suggestions anyone might have on other ways I could accomplish this.