Class SolrSearchItem
- java.lang.Object
-
- fr.paris.lutece.plugins.search.solr.business.SolrSearchItem
-
public class SolrSearchItem extends Object
A SearchItem
-
-
Constructor Summary
Constructors Constructor Description SolrSearchItem()Empty constructorSolrSearchItem(org.apache.solr.common.SolrDocument document)Creates and fills a SolrSearchItem form a SolrDocument
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetDate()Return the dateStringgetId()Return the idStringgetRole()Return the roleStringgetSite()Return the site name.StringgetSummary()Return the summaryStringgetTitle()Return the titleStringgetType()Return the typeStringgetUrl()Return the urlvoidsetDate(Date date)Set the datevoidsetId(String strId)Sets the idvoidsetRole(String strRole)Set the rolevoidsetSite(String strSite)Sets the site name.voidsetSummary(String strSummary)Set the summaryvoidsetTitle(String strTitle)Set the titlevoidsetType(String strType)Set the typevoidsetUrl(String strUrl)Set the url
-
-
-
Method Detail
-
getId
public String getId()
Return the id- Returns:
- the id
-
setId
public void setId(String strId)
Sets the id- Parameters:
strId- the id
-
getType
public String getType()
Return the type- Returns:
- the type
-
setType
public void setType(String strType)
Set the type- Parameters:
strType- the type
-
getTitle
public String getTitle()
Return the title- Returns:
- the title
-
setTitle
public void setTitle(String strTitle)
Set the title- Parameters:
strTitle- the title
-
getSummary
public String getSummary()
Return the summary- Returns:
- the summary
-
setSummary
public void setSummary(String strSummary)
Set the summary- Parameters:
strSummary- the summary
-
getUrl
public String getUrl()
Return the url- Returns:
- the url
-
setUrl
public void setUrl(String strUrl)
Set the url- Parameters:
strUrl- the url
-
getDate
public Date getDate()
Return the date- Returns:
- the date
-
setDate
public void setDate(Date date)
Set the date- Parameters:
date- the date.
-
getRole
public String getRole()
Return the role- Returns:
- the role
-
setRole
public void setRole(String strRole)
Set the role- Parameters:
strRole- the role
-
getSite
public String getSite()
Return the site name.- Returns:
- the site name.
-
setSite
public void setSite(String strSite)
Sets the site name.- Parameters:
strSite- the new site name.
-
-