* prefer API search names over local index names
This commit is contained in:
parent
98fb65e088
commit
5dbeb12e88
|
@ -185,7 +185,7 @@ public final class WebServices {
|
||||||
try {
|
try {
|
||||||
Set<SearchResult> results = new LinkedHashSet<SearchResult>();
|
Set<SearchResult> results = new LinkedHashSet<SearchResult>();
|
||||||
|
|
||||||
for (Future<List<SearchResult>> resultSet : executor.invokeAll(asList(localSearch, apiSearch))) {
|
for (Future<List<SearchResult>> resultSet : executor.invokeAll(asList(apiSearch, localSearch))) {
|
||||||
try {
|
try {
|
||||||
results.addAll(resultSet.get());
|
results.addAll(resultSet.get());
|
||||||
} catch (ExecutionException e) {
|
} catch (ExecutionException e) {
|
||||||
|
|
Loading…
Reference in New Issue