public class SolrSearchItem extends Object
| Constructor and Description |
|---|
SolrSearchItem()
Empty constructor
|
SolrSearchItem(org.apache.solr.common.SolrDocument document)
Creates and fills a SolrSearchItem form a SolrDocument
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate()
Return the date
|
String |
getId()
Return the id
|
String |
getRole()
Return the role
|
String |
getSite()
Return the site name.
|
String |
getSummary()
Return the summary
|
String |
getTitle()
Return the title
|
String |
getType()
Return the type
|
String |
getUrl()
Return the url
|
void |
setDate(Date date)
Set the date
|
void |
setId(String strId)
Sets the id
|
void |
setRole(String strRole)
Set the role
|
void |
setSite(String strSite)
Sets the site name.
|
void |
setSummary(String strSummary)
Set the summary
|
void |
setTitle(String strTitle)
Set the title
|
void |
setType(String strType)
Set the type
|
void |
setUrl(String strUrl)
Set the url
|
public SolrSearchItem()
public SolrSearchItem(org.apache.solr.common.SolrDocument document)
document - the documentpublic String getId()
public void setId(String strId)
strId - the idpublic String getType()
public void setType(String strType)
strType - the typepublic String getTitle()
public void setTitle(String strTitle)
strTitle - the titlepublic String getSummary()
public void setSummary(String strSummary)
strSummary - the summarypublic String getUrl()
public void setUrl(String strUrl)
strUrl - the urlpublic Date getDate()
public void setDate(Date date)
date - the date.public String getRole()
public void setRole(String strRole)
strRole - the rolepublic String getSite()
public void setSite(String strSite)
strSite - the new site name.Copyright © 2019 City of Paris. All rights reserved.