Searches for keyword only in title and not content to improve the quality of results
This commit is contained in:
parent
0648ecf2d2
commit
42a54648a1
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue