mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-05 04:39:08 +08:00
Searches for keyword only in title and not content to improve the quality of results
This commit is contained in:
parent
0648ecf2d2
commit
42a54648a1
@ -88,6 +88,9 @@ namespace Wox.Plugin.Indexer.SearchHelper
|
||||
// Set additional query restriction
|
||||
queryHelper.QueryWhereRestrictions = "AND scope='file:'";
|
||||
|
||||
// To filter based on title for now
|
||||
queryHelper.QueryContentProperties = "System.Title";
|
||||
|
||||
// Set sorting order
|
||||
queryHelper.QuerySorting = "System.DateModified DESC";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user