Classic Shell
http://classicshell.net/forum/

Search uses contains instead of starts with
http://classicshell.net/forum/viewtopic.php?f=13&t=7779
Page 1 of 1

Author:  54HSEbZmlu [ Thu Jul 27, 2017 1:08 pm ]
Post subject:  Search uses contains instead of starts with

In Windows 7 the start menu search uses a "starts with" method -- e.g. typing 'a' into the box only finds items that start with 'a'. Classic Shell's start menu uses a "contains" method and finds all items that contain 'a'. Is there an option to make the search use the "starts with" method?

Author:  Gaurav [ Thu Jul 27, 2017 11:02 pm ]
Post subject:  Re: Search uses contains instead of starts with

Yes open Start Menu Settings -> Search Box tab. Uncheck 'Match parts of words'.

Author:  54HSEbZmlu [ Fri Jul 28, 2017 8:08 am ]
Post subject:  Re: Search uses contains instead of starts with

With that setting unchecked I type 'b' into the search box and get these results:

Code:
Programs:
test.bat
test2.bat
etc.
Settings:
Add a Bluetooth device
Change cursor blink rate
etc.


It still seems to be finding 'b' in the middle of items.

Author:  Gaurav [ Fri Jul 28, 2017 9:10 am ]
Post subject:  Re: Search uses contains instead of starts with

Space is considered a word separator so finding words beginning with b is normal e.g. Bluetooth or blink rate. Maybe your batch files also contain words beginning with b. If you don't want to search file contents, also uncheck "Search contents" under "Search files".

It is not the exact Windows 7 search algorithm however there are few differences. If you type 3 letters, the results should not be drastically different. Typing: w m p should find Windows Media Player.

Author:  54HSEbZmlu [ Fri Jul 28, 2017 1:52 pm ]
Post subject:  Re: Search uses contains instead of starts with

Thanks for the explanation. It would be nice if there was a search option that exactly matched the native start menu.

Author:  Gaurav [ Fri Jul 28, 2017 8:23 pm ]
Post subject:  Re: Search uses contains instead of starts with

There are no plans to make it exactly as Windows search. The Windows 7 menu search has certain deficiencies which Classic Start Menu improved upon:

- Because Windows 7's menu can't do partial matches, you can't type RAR to open WinRAR. Or dataexecut to open DEP properties. With Classic Start Menu, you can.

- For EXE names, the Windows menu doesn't have autocomplete so you've to type the full name e.g. Reged will produce nothing, you've to type Regedit. In Classic menu, you can type: rege. Or gpe or diskm.

- Windows 7 Start menu requires the resource-hogging Windows Search service to be running constantly. Without it, it cannot search program names and Control Panel Settings. Classic Start Menu only needs Windows Search for file search, but it can find programs and settings without the Search service running.

- Classic menu has some special searching features too: viewtopic.php?f=4&t=1588#SpecialFeatures

- Classic menu also supports search providers: viewtopic.php?f=4&t=1588#SearchProviders

I suggest you take a look at the full search guide: viewtopic.php?f=7&t=1588

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/