Searches for keyword only in title and not content to improve the quality of results

This commit is contained in:
Alekhya Reddy 2020-04-08 17:51:43 -07:00
parent 0648ecf2d2
commit 42a54648a1

View file

@ -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";
}