generated from Nekojimi/JavaMavenTemplate
Compare commits
No commits in common. "5f301b1f2b49e08a594c85589aad77a81fe06c05" and "d38c2ea1648e7882ea164ed874560d980ade4e8b" have entirely different histories.
5f301b1f2b
...
d38c2ea164
|
@ -46,5 +46,3 @@ dist/
|
|||
nbdist/
|
||||
.nb-gradle/
|
||||
|
||||
# Secrets!
|
||||
secrets.yml
|
||||
|
|
|
@ -54,13 +54,13 @@ public class Main
|
|||
}
|
||||
|
||||
System.out.println(searchers);
|
||||
String query = "everybodys circulation";
|
||||
String query = "Test";
|
||||
for (Searcher searcher: searchers.values())
|
||||
{
|
||||
System.out.println("Searching " + searcher.getName() + " for " + query);
|
||||
try
|
||||
{
|
||||
List<Result> results = searcher.searchAndWait(Query.fullText(query));
|
||||
List<Result> results = searcher.searchAndWait(query);
|
||||
for (Result result: results)
|
||||
{
|
||||
System.out.println("\t" + result);
|
||||
|
|
Loading…
Reference in New Issue