Class SearchUtils


  • public final class SearchUtils
    extends java.lang.Object
    The bits of the search infrastructure that belong in the web-package because they have view dependent logic.
    Author:
    nils, Alex Kalderimis
    • Method Detail

      • parseResults

        public static java.util.Collection<KeywordSearchResult> parseResults​(InterMineAPI im,
                                                                             WebConfig webconfig,
                                                                             java.util.Collection<KeywordSearchResultContainer> searchHits)
        Parse the results into a human friendly form
        Parameters:
        im - The InterMine state object.
        webconfig - The web configuration.
        searchHits - The actual search hits.
        Returns:
        A collection of results