Class SolrHighlight
- java.lang.Object
-
- fr.paris.lutece.plugins.search.solr.business.SolrHighlight
-
public class SolrHighlight extends java.lang.ObjectSolrHighlight
-
-
Constructor Summary
Constructors Constructor Description SolrHighlight(java.util.Map<java.lang.String,java.util.List<java.lang.String>> map)Create a new instance of SolrHighlight
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>getFieldsNames()Returns the fields namesjava.util.Map<java.lang.String,java.util.List<java.lang.String>>getMap()Returns the mapjava.util.List<java.lang.String>getValues(java.lang.String strFieldName)Return the value of the given field namevoidsetMap(java.util.Map<java.lang.String,java.util.List<java.lang.String>> map)Sets the map
-
-
-
Method Detail
-
getMap
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getMap()
Returns the map- Returns:
- the map
-
setMap
public void setMap(java.util.Map<java.lang.String,java.util.List<java.lang.String>> map)
Sets the map- Parameters:
map- the map
-
getFieldsNames
public java.util.Set<java.lang.String> getFieldsNames()
Returns the fields names- Returns:
- the fields names
-
getValues
public java.util.List<java.lang.String> getValues(java.lang.String strFieldName)
Return the value of the given field name- Parameters:
strFieldName- the field name- Returns:
- the value of the given field name
-
-