fr.paris.lutece.plugins.search.solr.business
Class SolrSearchResult

java.lang.Object
  extended by fr.paris.lutece.portal.service.search.SearchResult
      extended by fr.paris.lutece.plugins.search.solr.business.SolrSearchResult

public class SolrSearchResult
extends fr.paris.lutece.portal.service.search.SearchResult

SolrSearchResult is more complete than a SearchResult with the highlights and the site name.


Constructor Summary
SolrSearchResult()
           
 
Method Summary
 SolrHighlight getHighlight()
          Return the highlight
 java.lang.String getSite()
          Return the site name
 void setHighlight(SolrHighlight highlight)
          Set the highlight
 void setSite(java.lang.String strSite)
          Set the the site name
 
Methods inherited from class fr.paris.lutece.portal.service.search.SearchResult
getDate, getId, getRoles, getSummary, getTitle, getType, getUrl, setDate, setId, setRole, setSummary, setTitle, setType, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrSearchResult

public SolrSearchResult()
Method Detail

getHighlight

public SolrHighlight getHighlight()
Return the highlight

Returns:
the highlight

setHighlight

public void setHighlight(SolrHighlight highlight)
Set the highlight

Parameters:
highlight - the highlight

getSite

public java.lang.String getSite()
Return the site name

Returns:
the site name

setSite

public void setSite(java.lang.String strSite)
Set the the site name

Parameters:
strSite - the site name


Copyright © 2010 Mairie de Paris. All Rights Reserved.