tw-full-text-search
tw-full-text-search copied to clipboard
Markup awareness
It might be nice if the indexing process were aware of markup; here are some examples of why that might be useful:
- Ascribe more weight to terms present in headings in a tiddler
- (Optionally) omit URLs from searches (for example, I have a bunch of tiddlers in my wiki that point to projects on GitHub, so when I search for "github" I get inundated with results. Sometimes I just want to look for an idea I had about GitHub itself!)
- (Optionally) omit code sections - both triple and single backticks. I often throw snippets of code into these, and I don't always want them showing up
- Don't index terms in TiddlyWiki filters or widget invocations!
Obviously this adds some overhead; I would need to measure the impact of this first, and then I would probably want to put it behind a configuration flag.