Package com.logicaldoc.core.searchengine
Class Hit
-
- All Implemented Interfaces:
TransactionalObject
,Serializable
,Comparable<Hit>
public class Hit extends Document implements Comparable<Hit>
Search result- Since:
- 5.2
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.logicaldoc.core.document.AbstractDocument
DOC_ARCHIVED, DOC_CHECKED_OUT, DOC_LOCKED, DOC_UNLOCKED, EXPORT_LOCKED, EXPORT_UNLOCKED, INDEX_INDEXED, INDEX_SKIP, INDEX_TO_INDEX, INDEX_TO_INDEX_METADATA, NATURE_DOC
-
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
-
Constructor Summary
Constructors Constructor Description Hit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Hit other)
String
getContent()
int
getScore()
String
getSummary()
void
setContent(String content)
void
setScore(int score)
void
setSummary(String summary)
-
Methods inherited from class com.logicaldoc.core.document.AbstractDocument
addTag, clearTags, copyAttributes, getBarcoded, getBarcodeTemplateId, getColor, getComment, getCreation, getCreator, getCreatorId, getCustomId, getDate, getDecodedPassword, getDeleteUser, getDeleteUserId, getDigest, getDocRef, getDocRefType, getExportId, getExportName, getExportStatus, getExportVersion, getExtResId, getFileExtension, getFileName, getFileSize, getFileVersion, getFolder, getFormId, getIcon, getImmutable, getIndexed, getLanguage, getLinks, getLocale, getLockUser, getLockUserId, getNature, getOcrd, getOcrTemplateId, getPages, getPassword, getPreviewPages, getPublished, getPublisher, getPublisherId, getRating, getSigned, getStamped, getStartPublishing, getStatus, getStopPublishing, getTags, getTagsAsWords, getTagsString, getTgs, getTitle, getTransactionId, getType, getVersion, getWorkflowStatus, getWorkflowStatusDisplay, isGranted, isModified, isPasswordProtected, isPublishing, isToIndex, setBarcoded, setBarcodeTemplateId, setColor, setComment, setCreation, setCreator, setCreatorId, setCustomId, setDate, setDecodedPassword, setDeleteUser, setDeleteUserId, setDigest, setDocRef, setDocRefType, setExportId, setExportName, setExportStatus, setExportVersion, setExtResId, setFileName, setFileSize, setFileVersion, setFolder, setFormId, setImmutable, setIndexed, setLanguage, setLinks, setLocale, setLockUser, setLockUserId, setModified, setNature, setOcrd, setOcrTemplateId, setPages, setPassword, setPreviewPages, setPublished, setPublisher, setPublisherId, setRating, setSigned, setStamped, setStartPublishing, setStatus, setStopPublishing, setTags, setTagsFromWords, setTgs, setTransactionId, setType, setVersion, setWorkflowStatus, setWorkflowStatusDisplay, toString
-
Methods inherited from class com.logicaldoc.core.metadata.ExtensibleObject
getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getTemplate, getTemplateId, getTemplateName, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setTemplate, setTemplateId, setTemplateName, setValue, setValues, setValues
-
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
-
-
-
Method Detail
-
getScore
public int getScore()
-
setScore
public void setScore(int score)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getSummary
public String getSummary()
-
setSummary
public void setSummary(String summary)
-
compareTo
public int compareTo(Hit other)
- Specified by:
compareTo
in interfaceComparable<Hit>
-
-