Class SolrSearchItem

java.lang.Object
fr.paris.lutece.plugins.search.solr.business.SolrSearchItem

public class SolrSearchItem extends Object
A SearchItem
  • Constructor Details

    • SolrSearchItem

      public SolrSearchItem()
      Empty constructor
    • SolrSearchItem

      public SolrSearchItem(org.apache.solr.common.SolrDocument document)
      Creates and fills a SolrSearchItem form a SolrDocument
      Parameters:
      document - the document
  • Method Details

    • 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.