Class KeywordSearchResults


  • public class KeywordSearchResults
    extends java.lang.Object
    A class that wraps both a collection of hits and a collection of facets.
    Author:
    Alex Kalderimis, arunans23
    • Constructor Detail

      • KeywordSearchResults

        public KeywordSearchResults​(java.util.Collection<KeywordSearchResultContainer> results,
                                    java.util.Collection<KeywordSearchFacet> facets,
                                    int totalHits)
        Parameters:
        results - the hits
        facets - The facets
        totalHits - count of search results
    • Method Detail

      • getFacets

        public java.util.Collection<KeywordSearchFacet> getFacets()
        Returns:
        the facets
      • getTotalHits

        public int getTotalHits()
        Returns:
        the totalHits