Class CmsSearchResultWrapper

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void convertSearchResults​(java.util.Collection<CmsSearchResource> searchResults)
      Converts the search results from CmsSearchResource to CmsSearchResourceBean.
      I_CmsSearchControllerMain getController()
      Returns the main controller for the search form.
      java.lang.String getDidYouMeanCollated()
      Returns the "Did you mean ...?" suggestion - if did you mean is enabled.
      org.apache.solr.client.solrj.response.SpellCheckResponse.Suggestion getDidYouMeanSuggestion()
      Returns the suggestion of "Did you mean ...?" for the complete query - if did you mean is enabled.
      I_CmsSearchStateParameters getEmptyStateParameters()
      Returns the empty search state parameters.
      int getEnd()
      Returns the last index of the documents displayed.
      CmsSearchException getException()
      Returns the search exception if search fails.
      java.util.Map<java.lang.String,​java.lang.Integer> getFacetQuery()
      Returns the result of the query facet, i.e., the map from queries to the number of hits.
      java.util.Map<java.lang.String,​org.apache.solr.client.solrj.response.FacetField> getFieldFacet()
      Returns the map for field facet names to the search result part for that field facet.
      java.util.Collection<org.apache.solr.client.solrj.response.FacetField> getFieldFacets()
      Returns the collection of the search result parts for the field facets.
      CmsSolrQuery getFinalQuery()
      Returns the query object as send to Solr.
      java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.util.List<java.lang.String>>> getHighlighting()
      Returns the map from the document ids to the corresponding highlighting results (as map from the highlighted field to the highlighted snippets).
      java.lang.Float getMaxScore()
      Returns the maximal score of the found documents.
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getMissingSelectedFieldFacetEntries()
      Returns for the specified facet (key) the selected facet entries that are not part of the returned facet entries are provided (value).
      java.util.List<java.lang.String> getMissingSelectedQueryFacetEntries()
      Returns the selected facet entries that are not part of the returned facet entries are provided (value).
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getMissingSelectedRangeFacetEntries()
      Returns for the specified facet (key) the selected facet entries that are not part of the returned facet entries are provided (value).
      long getNumFound()
      Returns the number of resources that where found.
      long getNumMaxReturned()
      Returns the number of maximally returned results, this is the minimum of the number of found results I_CmsSearchResultWrapper.getNumFound() and the number of results maximally processed I_CmsSearchConfigurationCommon.getMaxReturnedResults()
      int getNumPages()
      Returns the number of pages necessary to show all search results.
      int getPageNavFirst()
      Returns the number of the fist page that should be shown in a "Google"-like page navigation.
      int getPageNavLast()
      Returns the number of the last page that should be shown in a "Google"-like page navigation.
      java.util.Map<java.lang.String,​org.apache.solr.client.solrj.response.RangeFacet> getRangeFacet()
      Returns the map for range facet names to the search result part for that range facet.
      java.util.Collection<org.apache.solr.client.solrj.response.RangeFacet> getRangeFacets()
      Returns the collection of the search result parts for the range facets.
      java.util.Collection<I_CmsSearchResourceBean> getSearchResults()
      Returns the collection of the search results that are returned by Solr.
      java.lang.Long getStart()
      Returns the index (starting at 1) of the first result that is returned for displaying.
      CmsSearchStateParameters getStateParameters()
      Returns the current search state parameters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait