Closed jjw24 closed 3 years ago
@taooceros I have not been successful in disabling fast sort option to check this condition:
Turning off all these still get the Fast Sort option as true . Any ideas?
I do notice this error for quite a while, but forget to fix it before😯
Name is fast sort by default.
Probably you may need a rebuild index before seeing the effect of fast sort (because it is basically an index i guess)
Name is fast sort by default.
hmm which one is not do you know?
Hmm I think if there's an option, it shouldn't be fast sort by default.
Hmm I think if there's an option, it shouldn't be fast sort by default.
sorry what do you mean?
And there are a few that seems cannot be fast sort (filelist I guess).
Hmm I think if there's an option, it shouldn't be fast sort by default.
Oh as I remember, only name is fast sort by default. I mean the option to enable fast sort in the previous image.
I have switched them off and still not getting the error lol
Try force rebuild?
Have you changed the sort option in Flow? The default sort option in Flow is name, which is always fast sort.
Have you changed the sort option in Flow? The default sort option in Flow is name, which is always fast sort.
that's it lol, i did not notice the option in flow, rather was trying with Everything's own settings, and yep File List FileName sort option is not fast sort.
I will change the error message.
should we remove File List FileName sort option from being set in flow's settings if we dont allow it?
For prosperity, these are the non-Fast Sort options in Everything:
@taooceros i tried a couple of the non-Fast Sort options, seems to work ok, obviously depends on the number of results the user gets, but do we want to allow those options and just put the warning in the settings page next to the sort drop down options?
Sorry I didn't respond early because I miss the message.
@taooceros i tried a couple of the non-Fast Sort options, seems to work ok, obviously depends on the number of results the user gets, but do we want to allow those options and just put the warning in the settings page next to the sort drop down options?
Yeah we can, but Flow seems currently don't support FileList, so maybe remove that for now?
@jjw24 Size is one of the fast sort option, same as Path. FileList FileName may not exist without extra setting, so I think we can remove it for now unless user want it.
From my testing, Type Name is not much slower than other FastSort (probably extension is indexed, so even its fastsort option is not enabled, it is not slow).
So sounds like if we remove File list Filename sort then we can remove that restriction then? No need for any warning
So sounds like if we remove File list Filename sort then we can remove that restriction then? No need for any warning
Hm not sure whether I understand here idea clearly. I add restrictions because everything include every files in the disk, so enable sorting without index will take almost forever. It is not quite possible to use non fastsort in Flow. Most fastsort is not enabled by default in everything, so a warning for user is required I think. The Filelist Filename has nothing to do with this, but just I am not quite sure how to use it though. 😂
Oh ok, so we remove FileList Filename and add the warning to plugin's settings and allow them to use any options then?
Basically that method that checks if the sort option is fast sort, I will move it out of the main search method and just display a warning base on the fast sort check result
Have you checked what will happen without fast search? In my computer, using not fast search will cause a huge cpu usage and computer slow down, and results will not be returned unless wait for a long time.
So I tried a couple of them before (earlier comment), seems fine on my computer. Which non-fast sort option is causing the slow down for u can u list them please.
Would you please take a try on attributes and deselect the option of indexing attribute, and force rebuild?
so i tested those non-fast sort options and the result for me as i dont have a numerous amount of files to search through, using these options are fine. I did these steps:
commented out the code that throws the warning
1. deselect all these fast options
2. change sort to the non-fast option
3. force index rebuild
4. Change the settings in Flow's Everything plugin to match
5 repeat above for the other options
since it seems ok with a smaller number of results, do we want to move the warning to the Plugin's settings Sort By option so users can still use them, or remove those non-fast sort option from being able to be selected in flow so we dont need to display the warning message. What do you think @taooceros ?
Yeah if that works, we can do that. Probably because my computer got too much files so it stop responding for a long time when non fast sort.
close https://github.com/Flow-Launcher/Flow.Launcher.Plugin.Everything/issues/34