public class DocSearchItem extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_CONTENTS |
static String |
FIELD_DATE |
static String |
FIELD_SPACE |
static String |
FIELD_SUMMARY |
static String |
FIELD_TITLE |
static String |
FIELD_TYPE |
static String |
FIELD_UID |
Constructor and Description |
---|
DocSearchItem(org.apache.lucene.document.Document document)
The constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getDate()
Returns the LastModifiedDate
|
String |
getId()
Returns the Id
|
String |
getSummary()
Returns the Summary
|
String |
getTitle()
Returns the Title
|
String |
getType()
Returns the Type
|
void |
setDate(String strLastModifiedDate)
Sets the LastModifiedDate
|
void |
setId(String strId)
Sets the Id
|
void |
setSummary(String strSummary)
Sets the Summary
|
void |
setTitle(String strTitle)
Sets the Title
|
void |
setType(String strType)
Sets the Type
|
public static final String FIELD_UID
public static final String FIELD_CONTENTS
public static final String FIELD_TITLE
public static final String FIELD_SUMMARY
public static final String FIELD_DATE
public static final String FIELD_TYPE
public static final String FIELD_SPACE
public DocSearchItem(org.apache.lucene.document.Document document)
document
- the lucene documentpublic String getId()
public void setId(String strId)
strId
- The Idpublic String getTitle()
public void setTitle(String strTitle)
strTitle
- The Titlepublic String getSummary()
public void setSummary(String strSummary)
strSummary
- The Summarypublic String getDate()
public void setDate(String strLastModifiedDate)
strLastModifiedDate
- The LastModifiedDatepublic String getType()
public void setType(String strType)
strType
- The TypeCopyright © 2020 City of Paris. All rights reserved.