Class MatchingIndexEntry
- java.lang.Object
-
- org.silverpeas.core.index.indexing.model.IndexEntry
-
- org.silverpeas.core.index.search.model.MatchingIndexEntry
-
- All Implemented Interfaces:
Serializable
public class MatchingIndexEntry extends IndexEntry implements Serializable
A MatchingIndexEntry is an IndexEntry completed with a score by the search engine.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.index.indexing.model.IndexEntry
ENDDATE_DEFAULT, STARTDATE_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description MatchingIndexEntry(IndexEntryKey pk)
The constructor set only the key part of the entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getEmbeddedFileIds()
List of all linked attachment in wysiwyg contentfloat
getScore()
Return the score of this entry according the request.Map<String,String>
getSortableXMLFormFields()
gets the list of Sortable fields if the content is a form XMLMap<String,String>
getXMLFormFieldsForFacets()
boolean
isExternalResult()
void
setEmbeddedFileIds(String[] embeddedFileIds)
Set the list of all linked attachment in wysiwyg contentvoid
setExternalResult(boolean externalResult)
void
setScore(float score)
Set the score of this entry.void
setSortableXMLFormFields(HashMap<String,String> sortableXMLFormFields)
Sets the Sortable fields if the content is a form XMLvoid
setXMLFormFieldsForFacets(Map<String,String> fields)
-
Methods inherited from class org.silverpeas.core.index.indexing.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, setEndDate, setFilename, setIndexId, setKeywords, setKeywords, setLang, setLastModificationDate, setLastModificationDate, setLastModificationUser, setPaths, setPK, setPreview, setPreview, setServerName, setStartDate, setStartDate, setThumbnail, setThumbnailDirectory, setThumbnailMimeType, setTitle, setTitle, toString
-
-
-
-
Constructor Detail
-
MatchingIndexEntry
public MatchingIndexEntry(IndexEntryKey pk)
The constructor set only the key part of the entry.
-
-
Method Detail
-
getScore
public float getScore()
Return the score of this entry according the request.
-
setScore
public void setScore(float score)
Set the score of this entry. Only the searchEngine should call this method.
-
getSortableXMLFormFields
public Map<String,String> getSortableXMLFormFields()
gets the list of Sortable fields if the content is a form XML- Returns:
- the sortableXMLFormFields
-
setSortableXMLFormFields
public void setSortableXMLFormFields(HashMap<String,String> sortableXMLFormFields)
Sets the Sortable fields if the content is a form XML- Parameters:
sortableXMLFormFields
- the sortableXMLFormFields to set
-
setEmbeddedFileIds
public void setEmbeddedFileIds(String[] embeddedFileIds)
Set the list of all linked attachment in wysiwyg content- Parameters:
embeddedFileIds
- attachments ids separated by a blank space
-
getEmbeddedFileIds
public List<String> getEmbeddedFileIds()
List of all linked attachment in wysiwyg content
-
isExternalResult
public boolean isExternalResult()
-
setExternalResult
public void setExternalResult(boolean externalResult)
-
-