fr.paris.lutece.plugins.search.solr.indexer
Class SolrItem

java.lang.Object
  extended by fr.paris.lutece.plugins.search.solr.indexer.SolrItem

public class SolrItem
extends java.lang.Object

An item that is easy to add to a SolrServer.


Field Summary
static java.lang.String FIELD_CONTENT
           
static java.lang.String FIELD_SITE
           
 
Constructor Summary
SolrItem()
          Creates a new SolrItem
 
Method Summary
 java.lang.String getContent()
          Gets the content
 java.lang.Long getDate()
          Return the date
 java.lang.String getRole()
          Gets the role
 java.lang.String getSite()
          Gets the site
 java.lang.String getSummary()
          Gets the summary
 java.lang.String getTitle()
          Gets the title
 java.lang.String getType()
          Gets the type
 java.lang.String getUid()
          Gets the id
 java.lang.String getUrl()
          Gets the url
 void setContent(java.lang.String strContent)
          Sets the content
 void setDate(java.lang.Long lDate)
          Sets the date
 void setRole(java.lang.String strRole)
          Sets the role
 void setSite(java.lang.String strSite)
          Sets the site name
 void setSummary(java.lang.String strSummary)
          Sets the summary
 void setTitle(java.lang.String strTitle)
          Sets the title
 void setType(java.lang.String strType)
          Sets the type
 void setUid(java.lang.String strUid)
          Sets the id
 void setUrl(java.lang.String strUrl)
          Sets the url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_CONTENT

public static final java.lang.String FIELD_CONTENT
See Also:
Constant Field Values

FIELD_SITE

public static final java.lang.String FIELD_SITE
See Also:
Constant Field Values
Constructor Detail

SolrItem

public SolrItem()
Creates a new SolrItem

Method Detail

getUrl

public java.lang.String getUrl()
Gets the url

Returns:
the url

setUrl

public void setUrl(java.lang.String strUrl)
Sets the url

Parameters:
strUrl - the url

getDate

public java.lang.Long getDate()
Return the date

Returns:
the date

setDate

public void setDate(java.lang.Long lDate)
Sets the date

Parameters:
lDate - the date

getTitle

public java.lang.String getTitle()
Gets the title

Returns:
the title

setTitle

public void setTitle(java.lang.String strTitle)
Sets the title

Parameters:
strTitle - the title

getUid

public java.lang.String getUid()
Gets the id

Returns:
the id

setUid

public void setUid(java.lang.String strUid)
Sets the id

Parameters:
strUid - the id

getContent

public java.lang.String getContent()
Gets the content

Returns:
the content

setContent

public void setContent(java.lang.String strContent)
Sets the content

Parameters:
strContent - the content

getSite

public java.lang.String getSite()
Gets the site

Returns:
the site name

setSite

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

Parameters:
strSite - the site name

getSummary

public java.lang.String getSummary()
Gets the summary

Returns:
the summary

setSummary

public void setSummary(java.lang.String strSummary)
Sets the summary

Parameters:
strSummary - the summary

getType

public java.lang.String getType()
Gets the type

Returns:
the type

setType

public void setType(java.lang.String strType)
Sets the type

Parameters:
strType - the type

getRole

public java.lang.String getRole()
Gets the role

Returns:
the role

setRole

public void setRole(java.lang.String strRole)
Sets the role

Parameters:
strRole - the role


Copyright © 2010 Mairie de Paris. All Rights Reserved.