Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Weigh recently modified files higher #172

Open
joech4n opened this issue Jan 11, 2023 · 6 comments
Open

[Feature request] Weigh recently modified files higher #172

joech4n opened this issue Jan 11, 2023 · 6 comments

Comments

@joech4n
Copy link

joech4n commented Jan 11, 2023

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

@scambier
Copy link
Owner

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.

@tralston
Copy link

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.

@scambier
Copy link
Owner

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

@tralston
Copy link

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)

@stoilis
Copy link

stoilis commented Jun 14, 2023

+1

@S-Wil
Copy link

S-Wil commented May 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants