From 5f301b1f2b49e08a594c85589aad77a81fe06c05 Mon Sep 17 00:00:00 2001 From: Nekojimi Date: Fri, 1 Oct 2021 13:02:48 +0100 Subject: [PATCH] Updated test program. --- src/main/java/moe/nekojimi/musicsearcher/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/moe/nekojimi/musicsearcher/Main.java b/src/main/java/moe/nekojimi/musicsearcher/Main.java index f1fa57a..d947845 100644 --- a/src/main/java/moe/nekojimi/musicsearcher/Main.java +++ b/src/main/java/moe/nekojimi/musicsearcher/Main.java @@ -54,13 +54,13 @@ public class Main } System.out.println(searchers); - String query = "Test"; + String query = "everybodys circulation"; for (Searcher searcher: searchers.values()) { System.out.println("Searching " + searcher.getName() + " for " + query); try { - List results = searcher.searchAndWait(query); + List results = searcher.searchAndWait(Query.fullText(query)); for (Result result: results) { System.out.println("\t" + result);