Class SolrHighlight


  • public class SolrHighlight
    extends Object
    SolrHighlight
    • Constructor Detail

      • SolrHighlight

        public SolrHighlight​(Map<String,​List<String>> map)
        Create a new instance of SolrHighlight
        Parameters:
        map - the highlights from SolrServer
    • Method Detail

      • setMap

        public void setMap​(Map<String,​List<String>> map)
        Sets the map
        Parameters:
        map - the map
      • getFieldsNames

        public Set<String> getFieldsNames()
        Returns the fields names
        Returns:
        the fields names
      • getValues

        public List<String> getValues​(String strFieldName)
        Return the value of the given field name
        Parameters:
        strFieldName - the field name
        Returns:
        the value of the given field name