Package com.logicaldoc.core.searchengine
Class Hit
-
- All Implemented Interfaces:
TransactionalObject
,Comparable<Hit>
public class Hit extends Document implements Comparable<Hit>
Search result- Since:
- 5.2
- Author:
- Marco Meschieri - LogicalDOC
-
-
Field Summary
-
Fields inherited from class com.logicaldoc.core.document.Document
templateId
-
Fields inherited from class com.logicaldoc.core.document.AbstractDocument
BARCODE_PROCESSED, BARCODE_SKIP, BARCODE_TO_PROCESS, DOC_ARCHIVED, DOC_CHECKED_OUT, DOC_LOCKED, DOC_UNLOCKED, EXPORT_LOCKED, EXPORT_UNLOCKED, INDEX_INDEXED, INDEX_SKIP, INDEX_TO_INDEX, NATURE_DOC, NATURE_FORM
-
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.Document
clone, getTemplateId, setTemplateId
-
Methods inherited from class com.logicaldoc.core.document.AbstractDocument
addTag, clearTags, copyAttributes, getBarcoded, 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, getPages, getPassword, getPublished, getPublisher, getPublisherId, getRating, getSigned, getStamped, getStartPublishing, getStatus, getStopPublishing, getTags, getTagsAsWords, getTagsString, getTemplate, getTemplateName, getTgs, getTitle, getTransactionId, getType, getVersion, getWorkflowStatus, getWorkflowStatusDisplay, isGranted, isModified, isPasswordProtected, isPublishing, isToIndex, setBarcoded, 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, setPages, setPassword, setPublished, setPublisher, setPublisherId, setRating, setSigned, setStamped, setStartPublishing, setStatus, setStopPublishing, setTags, setTagsFromWords, setTemplate, setTemplateName, setTgs, setTransactionId, setType, setVersion, setWorkflowStatus, setWorkflowStatusDisplay, toString
-
Methods inherited from class com.logicaldoc.core.metadata.ExtensibleObject
getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setValue, 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>
-
-