public class SearchQueryResult extends Object implements DefaultQueryResult
| Constructor and Description |
|---|
SearchQueryResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor() |
String |
getBinaryAuthor()
The author of binary.
|
Long |
getBinaryContentLength()
The content length of binary.
|
String |
getBinaryContentType()
The content type of binary.
|
String |
getBinaryCreatedDate()
The created date of binary.
|
String |
getBinaryFileName()
The name of binary file.
|
String |
getBinaryLanguage()
The language of binary.
|
String |
getBinaryTitle()
The title of binary.
|
Map<String,Set<String>> |
getConcepts()
The concepts field.
|
Optional<String> |
getContent() |
String |
getCreatedDate() |
Optional<Map<String,Object>> |
getFields() |
Optional<Map<String,List<String>>> |
getHighlighted()
Represents a Map of field name - highlight values.
|
String |
getId() |
String |
getItemType()
Gets the Item Type.
|
Optional<Locale> |
getLocale() |
String |
getLocation() |
String |
getMajorVersion() |
String |
getMinorVersion() |
String |
getModifiedDate() |
String |
getNamespace() |
Integer |
getPublicationId() |
String |
getPublicationTitle() |
String |
getRawContent() |
String |
getRawLanguageTitle() |
String |
getSchemaId() |
Double |
getScore()
The matching score of the result.
|
String |
getUrl() |
void |
setAuthor(String author)
The author.
|
void |
setBinaryAuthor(String binaryAuthor) |
void |
setBinaryContentLength(Long binaryContentLength) |
void |
setBinaryContentType(String binaryContentType) |
void |
setBinaryCreatedDate(String binaryCreatedDate) |
void |
setBinaryFileName(String binaryFileName) |
void |
setBinaryLanguage(String binaryLanguage) |
void |
setBinaryTitle(String binaryTitle) |
void |
setConcepts(Map<String,Set<String>> concepts) |
void |
setContent(String content)
The content on which analysis takes place.
|
void |
setCreatedDate(String createdDate)
The creation date.
|
void |
setFields(Map<String,Object> fields) |
void |
setHighlighted(Map<String,List<String>> highlighted) |
void |
setId(String id)
Represents a unique key.
|
void |
setItemType(String itemType)
Sets the item type.
|
void |
setLocale(Locale locale)
Locale of the entity.
|
void |
setLocation(String location)
The location.
|
void |
setMajorVersion(String majorVersion)
The major version.
|
void |
setMinorVersion(String minorVersion)
The minor version.
|
void |
setModifiedDate(String modifiedDate)
The modification date.
|
void |
setNamespace(String namespace)
The namespace.
|
void |
setPublicationId(Integer publicationId)
The publication id.
|
void |
setPublicationTitle(String publicationTitle)
The publication title.
|
void |
setRawContent(String rawContent)
The raw content.
|
void |
setRawLanguageTitle(String rawLanguageTitle)
The raw language title.
|
void |
setSchemaId(String schemaId)
Schema Id.
|
void |
setScore(Double score) |
void |
setUrl(String url)
The Url.
|
public String getId()
getId in interface DefaultQueryResultpublic void setId(String id)
DefaultQueryResultsetId in interface DefaultQueryResultid - the index keypublic Integer getPublicationId()
getPublicationId in interface DefaultQueryResultpublic void setPublicationId(Integer publicationId)
DefaultQueryResultsetPublicationId in interface DefaultQueryResultpublicationId - Publication id.public String getPublicationTitle()
getPublicationTitle in interface DefaultQueryResultpublic void setPublicationTitle(String publicationTitle)
DefaultQueryResultsetPublicationTitle in interface DefaultQueryResultpublicationTitle - Publication title.public String getNamespace()
getNamespace in interface DefaultQueryResultpublic void setNamespace(String namespace)
DefaultQueryResultsetNamespace in interface DefaultQueryResultnamespace - Namespace.public String getItemType()
DefaultQueryResultgetItemType in interface DefaultQueryResultpublic void setItemType(String itemType)
DefaultQueryResultsetItemType in interface DefaultQueryResultitemType - the item typepublic void setLocale(Locale locale)
DefaultQueryResultsetLocale in interface DefaultQueryResultlocale - the Locale.public Optional<Locale> getLocale()
getLocale in interface DefaultQueryResultpublic String getUrl()
getUrl in interface DefaultQueryResultpublic void setUrl(String url)
DefaultQueryResultsetUrl in interface DefaultQueryResulturl - Url.public String getLocation()
getLocation in interface DefaultQueryResultpublic void setLocation(String location)
DefaultQueryResultsetLocation in interface DefaultQueryResultlocation - Location.public String getAuthor()
getAuthor in interface DefaultQueryResultpublic void setAuthor(String author)
DefaultQueryResultsetAuthor in interface DefaultQueryResultauthor - Author.public String getRawLanguageTitle()
getRawLanguageTitle in interface DefaultQueryResultpublic void setRawLanguageTitle(String rawLanguageTitle)
DefaultQueryResultsetRawLanguageTitle in interface DefaultQueryResultrawLanguageTitle - Raw language title.public String getSchemaId()
getSchemaId in interface DefaultQueryResultpublic void setSchemaId(String schemaId)
DefaultQueryResultsetSchemaId in interface DefaultQueryResultschemaId - Schema Id.public void setContent(String content)
DefaultQueryResultsetContent in interface DefaultQueryResultcontent - the content.public Optional<String> getContent()
getContent in interface DefaultQueryResultpublic Optional<Map<String,Object>> getFields()
getFields in interface DefaultQueryResultpublic void setFields(Map<String,Object> fields)
setFields in interface DefaultQueryResultpublic String getRawContent()
getRawContent in interface DefaultQueryResultpublic String getBinaryFileName()
DefaultQueryResultgetBinaryFileName in interface DefaultQueryResultpublic void setBinaryFileName(String binaryFileName)
setBinaryFileName in interface DefaultQueryResultpublic String getBinaryContentType()
DefaultQueryResultgetBinaryContentType in interface DefaultQueryResultpublic void setBinaryContentType(String binaryContentType)
setBinaryContentType in interface DefaultQueryResultpublic Long getBinaryContentLength()
DefaultQueryResultgetBinaryContentLength in interface DefaultQueryResultpublic void setBinaryContentLength(Long binaryContentLength)
setBinaryContentLength in interface DefaultQueryResultpublic String getBinaryLanguage()
DefaultQueryResultgetBinaryLanguage in interface DefaultQueryResultpublic void setBinaryLanguage(String binaryLanguage)
setBinaryLanguage in interface DefaultQueryResultpublic String getBinaryCreatedDate()
DefaultQueryResultgetBinaryCreatedDate in interface DefaultQueryResultpublic void setBinaryCreatedDate(String binaryCreatedDate)
setBinaryCreatedDate in interface DefaultQueryResultpublic String getBinaryAuthor()
DefaultQueryResultgetBinaryAuthor in interface DefaultQueryResultpublic void setBinaryAuthor(String binaryAuthor)
setBinaryAuthor in interface DefaultQueryResultpublic String getBinaryTitle()
DefaultQueryResultgetBinaryTitle in interface DefaultQueryResultpublic void setBinaryTitle(String binaryTitle)
setBinaryTitle in interface DefaultQueryResultpublic void setRawContent(String rawContent)
DefaultQueryResultsetRawContent in interface DefaultQueryResultrawContent - Raw content.public Optional<Map<String,List<String>>> getHighlighted()
DefaultQueryResultgetHighlighted in interface DefaultQueryResultpublic void setHighlighted(Map<String,List<String>> highlighted)
setHighlighted in interface DefaultQueryResultpublic String getCreatedDate()
getCreatedDate in interface DefaultQueryResultpublic void setCreatedDate(String createdDate)
DefaultQueryResultsetCreatedDate in interface DefaultQueryResultcreatedDate - Creation date.public String getModifiedDate()
getModifiedDate in interface DefaultQueryResultpublic void setModifiedDate(String modifiedDate)
DefaultQueryResultsetModifiedDate in interface DefaultQueryResultmodifiedDate - Modified date.public String getMajorVersion()
getMajorVersion in interface DefaultQueryResultpublic void setMajorVersion(String majorVersion)
DefaultQueryResultsetMajorVersion in interface DefaultQueryResultmajorVersion - Major version.public String getMinorVersion()
getMinorVersion in interface DefaultQueryResultpublic void setMinorVersion(String minorVersion)
DefaultQueryResultsetMinorVersion in interface DefaultQueryResultminorVersion - Minor version.public Map<String,Set<String>> getConcepts()
DefaultQueryResultgetConcepts in interface DefaultQueryResultpublic void setConcepts(Map<String,Set<String>> concepts)
setConcepts in interface DefaultQueryResultpublic Double getScore()
DefaultQueryResultgetScore in interface DefaultQueryResultpublic void setScore(Double score)
setScore in interface DefaultQueryResultCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries