Class SolrHighlights
- java.lang.Object
-
- fr.paris.lutece.plugins.search.solr.business.SolrHighlights
-
public class SolrHighlights extends Object
A SolrHighlight is a sample sentence which highlights searched words.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrHighlightgetHighlights(String strId)Returns a SolrHighlight matching the searched strId.Map<String,Map<String,List<String>>>getMap()Gets the map.voidsetMap(Map<String,Map<String,List<String>>> map)Sets the map.
-
-
-
Method Detail
-
setMap
public void setMap(Map<String,Map<String,List<String>>> map)
Sets the map.- Parameters:
map- the map.
-
getHighlights
public SolrHighlight getHighlights(String strId)
Returns a SolrHighlight matching the searched strId.- Parameters:
strId- the searched id- Returns:
- the SolrHighlight that matches the searched id, otherwise null.
-
-