obsidian-omnisearch
obsidian-omnisearch copied to clipboard
[Feature request] Weigh recently modified files higher
Is your feature request related to a problem? Please describe. I have a harder time finding recently edited files.
Describe the solution you'd like It would be nice to weigh recently modified files higher. Or have a way to specify a specific weight to the file's recency.
Describe alternatives you've considered Using the built-in search.
Additional context N/A
This has already been requested in #123, and while I'm not strictly against the idea, I don't know how to efficiently integrate a recency weight into the algorithm.
I'm following both #123 and this issue, and would add my vote to the others. The majority of work I do in Obsidian is for Work/Meeting notes, which are all date-relevant. Here's a couple of thoughts that might help in updating the algorithm/UI:
- Sorting by recency could either be a search token (e.g. @date, #date, /date, etc.)
- Or it could be through a shortcut key. At the bottom of the Omnisearch window, you have several keyboard shortcuts to toggle between various "modes" of the search. Another one could be recency
- For the algorithm, it would suffice to just sort directly by creation/modification date. So you're either in "Recent" mode or "Recommended" mode.
I'd like to see an option in the settings page where I could set a default mode (Recent or Recommended) and then specify for Recent mode which timestamp to use (Creation / Modification). I can't see people swapping between the two timestamps that often, so a setting seems appropriate. But once people have decided which mode to use as their default for Omnisearch, one of those keyboard shortcuts can toggle between the modes on the fly. And maybe some sort of appearance change or indicator would clue people into which mode they are in at the moment.
Ok so basically a "date mode" that completely bypasses the weighting system?
Ok so basically a "date mode" that completely bypasses the weighting system?
Yes. Essentially there are two mindsets I'm in when I'm searching for notes.
- When was the most recent thing with a keyword (often in the title, but not always)?
- What are all the notes I have on a specific topic over all time? (this is the default way you have it querying currently)
+1
+1 I really need this. Lack of date prioritization is killing me. I'd also add sometimes I'm not looking for most recently modified but by date created.