Wox-launcher / Wox

A cross-platform launcher that simply works
http://wox-launcher.github.io/Wox/
GNU General Public License v3.0
24.58k stars 2.37k forks source link

Add a new system command to reindex #3388

Open LegoCodr opened 3 years ago

LegoCodr commented 3 years ago

I use wox everyday, and it makes me upset that I have to goto the settings to reindex everytime I did some changes to my system.

I wonder if you can add a system command to make it easier. Since there is a command for restart wox, I think this can be done.

Thank you!

enria commented 3 years ago

So... What's the meaning of "reindex"?

LegoCodr commented 3 years ago

I barely turn my computer off these days, just put it into sleep. So, whenever I add new software or make some changes to a folder where I put all my 'green' software in, I have to do a reindex in wox manually. I tried many times, and wox's not smart enough to understand my need. I dont kown what the current strategy for wox to index changes in the system, if anyone can explain to me, that'll be nice. So, I think a 'reindex' command would be much more conveniet than going through the settings dialog every time.

karpovv-boris commented 3 years ago

Solution in the form of .bat file with command

net stop wsearch
del "%programdata%\microsoft\search\data\applications\windows\Windows.edb.bak"
move "%programdata%\microsoft\search\data\applications\windows\Windows.edb" "%programdata%\microsoft\search\data\applications\windows\Windows.edb.bak"
net start wsearch

will be suitable for you?


Here's how it works: image

LegoCodr commented 3 years ago

thank you @karpovv-boris , I dont use windows search engine since its such a resource hog. I think EVEYTHING can do literally everything for me. I just wanna the author to consider expose that "reindex" api or just add a system command to do a reindex manually in the wox input box. that'll be good enough for me.

karpovv-boris commented 3 years ago

Don't think so about implementation. Not sure if this repo still alive.

karpovv-boris commented 3 years ago

@quiary Ok get it, my tweak was about reindex Win Search Desktop service index. You request about reindex for wox/everything cache.

wangyang1633 commented 3 years ago

If by 'reindex' you mean update a list of installed software so you can search for them in Wox, I recommend using Flow Launcher instead, it has this feature implemented already and you can just run the command from the window. www.github.com/flow-launcher/flow.launcher

LegoCodr commented 3 years ago

If by 'reindex' you mean update a list of installed software so you can search for them in Wox, I recommend using Flow Launcher instead, it has this feature implemented already and you can just run the command from the window. www.github.com/flow-launcher/flow.launcher

thank you! you're right. Flowlanucher has a ' reload plugin data ' command doing exactly what i need, and it keeps all wox goodies intact. just wonderful!