Test rewarding linked terms.

This commit is contained in:
vlofgren 2022-08-02 17:50:21 +02:00
parent 6fad466e00
commit 6e68f930a6

View File

@ -48,7 +48,8 @@ public class SearchCommand implements SearchCommandInterface {
@Override
public Optional<Object> process(Context ctx, SearchParameters parameters, String query) {
@CheckForNull Future<String> eval = unitConversion.tryEval(ctx, query);
@CheckForNull
Future<String> eval = unitConversion.tryEval(ctx, query);
EdgeUserSearchParameters params = new EdgeUserSearchParameters(query, parameters.profile(), parameters.js());
DecoratedSearchResults results = searchOperator.doSearch(ctx, params, eval);