windows indexer plugin is working

This commit is contained in:
Alekhya Reddy
2020-04-02 17:49:43 -07:00
parent 38490195e3
commit ad6ca65d4b
4 changed files with 21 additions and 6 deletions

View File

@@ -32,10 +32,12 @@ namespace Wox.Plugin.Indexer.SearchHelper
while (WDSResults.Read())
{
// col 0 is our path in display format
Console.WriteLine("{0}", WDSResults.GetString(0));
var result = new SearchResult { Path = WDSResults.GetString(0) };
yield return result;
if (WDSResults.GetString(0) != null)
{
//Console.WriteLine("{0}", WDSResults.GetString(0));
var result = new SearchResult { Path = WDSResults.GetString(0) };
yield return result;
}
}
}