package com.istavrak.vocabrecommender.core.recommender;

import com.istavrak.vocabrecommender.core.searcher.LOVSearcher;
import com.istavrak.vocabrecommender.model.lov.Results;
import com.istavrak.vocabrecommender.model.vsearch.Query;
import com.istavrak.vocabrecommender.model.vsearch.ResultTerm;

public class LOVRecommender extends VocabularyRecommender {
    @Override
    public Query getResultsFor(String keyword) {
        Query query = new Query();
        query.keyword = keyword;
        query.hasResultTerm = new ResultTerm();

        LOVSearcher searcher = new LOVSearcher();
        Results lovResults = searcher.searchLOVFor(keyword);

        // TODO implement the logic to use the rankers here
        if (!lovResults.getResults().isEmpty()) {
            query.hasResultTerm.termURI = lovResults.getResults().get(0).getUri().get(0);
        }
        return query;
    }
}

@@ -610,16 +610,26 @@
 esults =
+ (Results)
  searche
@@ -636,19 +636,16 @@
 r.search
-LOV
 For(keyw

Fix broken build