Class SolrHighlights
java.lang.Object
fr.paris.lutece.plugins.search.solr.business.SolrHighlights
A SolrHighlight is a sample sentence which highlights searched words.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SolrHighlights
Creates a new SolrHighlights- Parameters:
map- the highlight map from SolrServer.
-
-
Method Details
-
getMap
Gets the map.- Returns:
- the map
-
setMap
Sets the map.- Parameters:
map- the map.
-
getHighlights
Returns a SolrHighlight matching the searched strId.- Parameters:
strId- the searched id- Returns:
- the SolrHighlight that matches the searched id, otherwise null.
-