From ac2d318412a0e0c0154e466ceb987c47794317bb Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Tue, 19 May 2020 13:54:56 +1000 Subject: [PATCH] Rename Searcher class to IndexSearcher- more descriptive --- Plugins/Flow.Launcher.Plugin.Explorer/Main.cs | 2 +- .../Search/WindowsIndex/{Searcher.cs => IndexSearcher.cs} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/{Searcher.cs => IndexSearcher.cs} (97%) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs index f4f63a3a6..1740e0e5b 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs @@ -53,7 +53,7 @@ namespace Flow.Launcher.Plugin.Explorer var queryConstructor = new QueryConstructor(_settings); - var searcher = new Searcher(Context); + var searcher = new IndexSearcher(Context); return searcher.WindowsIndexSearch(query.Search, queryConstructor.CreateQueryHelper().ConnectionString, diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/Searcher.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/IndexSearcher.cs similarity index 97% rename from Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/Searcher.cs rename to Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/IndexSearcher.cs index 21067056d..35b4a76e2 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/Searcher.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/IndexSearcher.cs @@ -8,7 +8,7 @@ using System.Diagnostics; namespace Flow.Launcher.Plugin.Explorer.Search.WindowsIndex { - internal class Searcher + internal class IndexSearcher { public OleDbConnection conn; @@ -20,7 +20,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search.WindowsIndex private readonly object _lock = new object(); - public Searcher(PluginInitContext context) + public IndexSearcher(PluginInitContext context) { _context = context; }