|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.search.indexEngine.model.IndexEntry
org.silverpeas.search.indexEngine.model.FullIndexEntry
public class FullIndexEntry
A FullIndexEntry is an IndexEntry completed with data usefull uniquely at the index creation time (mainly all the data contents which must be indexed but which is useless at retrieve time). This extra-content is indexed but not stored in the index.
Field Summary |
---|
Fields inherited from class org.silverpeas.search.indexEngine.model.IndexEntry |
---|
ENDDATE_DEFAULT, STARTDATE_DEFAULT |
Constructor Summary | |
---|---|
FullIndexEntry(IndexEntryPK pk)
|
|
FullIndexEntry(String component,
String objectType,
String objectId)
|
|
FullIndexEntry(String space,
String component,
String objectType,
String objectId)
Deprecated. - parameter space is no more used |
Method Summary | |
---|---|
void |
addField(String fieldName,
Date value)
|
void |
addField(String fieldName,
Date value,
String language)
|
void |
addField(String fieldName,
String value)
|
void |
addField(String fieldName,
String value,
String language,
boolean stored)
|
void |
addFileContent(String path,
String encoding,
String format,
String lang)
Add a file to be indexed. |
void |
addLinkedFileContent(String path,
String encoding,
String format,
String lang)
Add a linked file to be indexed. |
void |
addLinkedFileId(String fileId)
Add a linked file id to be indexed. |
void |
addTextContent(String text)
Add a text fragment to be indexed. |
void |
addTextContent(String text,
String language)
|
void |
addXMLField(String fieldName,
String value)
Deprecated. use addField(String fieldName, String value) instead |
void |
addXMLField(String fieldName,
String value,
String language)
Deprecated. use addField(String fieldName, String value, String language) instead |
FullIndexEntry |
clone()
|
List<FieldDescription> |
getFields()
|
List<FileDescription> |
getFileContentList()
Return the List of all the added files. |
List<FileDescription> |
getLinkedFileContentList()
Return the List of all the linked files. |
Set<String> |
getLinkedFileIdsSet()
|
List<TextDescription> |
getTextContentList()
Return the List of all the added texts. |
List<FieldDescription> |
getXmlFields()
Deprecated. use getFields() instead |
Methods inherited from class org.silverpeas.search.indexEngine.model.IndexEntry |
---|
equals, getComponent, getCreationDate, getCreationUser, getEndDate, getFilename, getKeyWords, getKeywords, getLang, getLanguages, getLastModificationDate, getLastModificationUser, getObjectId, getObjectType, getPaths, getPK, getPreView, getPreview, getServerName, getStartDate, getThumbnail, getThumbnailDirectory, getThumbnailMimeType, getTitle, getTitle, hashCode, isAlias, isIndexId, setAlias, setCreationDate, setCreationDate, setCreationUser, setEndDate, setFilename, setIndexId, setKeyWords, setKeywords, setLang, setLastModificationDate, setLastModificationDate, setLastModificationUser, setPaths, setPK, setPreView, setPreview, setServerName, setStartDate, setThumbnail, setThumbnailDirectory, setThumbnailMimeType, setTitle, setTitle, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FullIndexEntry(String space, String component, String objectType, String objectId)
public FullIndexEntry(String component, String objectType, String objectId)
public FullIndexEntry(IndexEntryPK pk)
Method Detail |
---|
public void addTextContent(String text)
public void addTextContent(String text, String language)
public void addFileContent(String path, String encoding, String format, String lang)
public void addLinkedFileId(String fileId)
public void addLinkedFileContent(String path, String encoding, String format, String lang)
public void addXMLField(String fieldName, String value)
public void addXMLField(String fieldName, String value, String language)
public void addField(String fieldName, String value)
public void addField(String fieldName, String value, String language, boolean stored)
public void addField(String fieldName, Date value)
public void addField(String fieldName, Date value, String language)
public List<TextDescription> getTextContentList()
public List<FileDescription> getFileContentList()
public List<FileDescription> getLinkedFileContentList()
public List<FieldDescription> getXmlFields()
public Set<String> getLinkedFileIdsSet()
public List<FieldDescription> getFields()
public FullIndexEntry clone()
clone
in class IndexEntry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |