Remove hidden files from indexer results (#4325)

* Added functionality to not display hidden files

* Added interfaces for seperating db layer

* Updated variable naming and refactored Database connection class

* Added tests for WindowsSearchAPI class

* Fixed nit with braces

* Added function to test that all connections from database are closed
This commit is contained in:
Divyansh Srivastava
2020-06-18 15:42:28 -07:00
committed by GitHub
parent 7ed03c8b90
commit a21a3827fd
6 changed files with 225 additions and 63 deletions

View File

@@ -0,0 +1,10 @@
using Microsoft.Plugin.Indexer.SearchHelper;
using System.Collections.Generic;
namespace Microsoft.Plugin.Indexer.Interface
{
public interface ISearch
{
List<OleDBResult> Query(string connectionString, string sqlQuery);
}
}