ShadowKnightMK4 / OdinSearch

Search thru local computer files and feed matching output to a class that consumes it.
MIT License
1 stars 0 forks source link

Anchor Hints System #33

Open ShadowKnightMK4 opened 3 months ago

ShadowKnightMK4 commented 3 months ago

The hints system idea would work like this and be platform dependent.

Consider these ideas

"I recently downloaded it but don't know where"

"It's in my onedrive folder"

"It's in my documents folder"

A hint would work by placing these starting places first in line to be searched before the rest of the search.

ShadowKnightMK4 commented 3 months ago

Still in the planning stage. Currently just plan on letting OdinSearch class accept some folders to run thru before execution of general search

ShadowKnightMK4 commented 2 months ago

Api plan

OdinSearch.AddHint().

Overloaded as follows: Environment.SpecialFolder, string, Search anchor,

Implementation plan: The varieties convert to a string list and add to a queue that's private.
On search start if this isn't empty, we run thru the queue before initializing the general threads.