obsidian-omnisearch icon indicating copy to clipboard operation
obsidian-omnisearch copied to clipboard

[Feature request] Weigh recently modified files higher

Open joech4n opened this issue 2 years ago • 6 comments

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

joech4n avatar Jan 11 '23 17:01 joech4n

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.

scambier avatar Jan 11 '23 19:01 scambier

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.

tralston avatar Apr 10 '23 17:04 tralston

Ok so basically a "date mode" that completely bypasses the weighting system?

scambier avatar Apr 10 '23 17:04 scambier

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.

  1. When was the most recent thing with a keyword (often in the title, but not always)?
  2. What are all the notes I have on a specific topic over all time? (this is the default way you have it querying currently)

tralston avatar May 11 '23 19:05 tralston

+1

stoilis avatar Jun 14 '23 18:06 stoilis

+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.

S-Wil avatar May 08 '24 03:05 S-Wil