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 DefaultQueryResult
public void setId(String id)
DefaultQueryResult
setId
in interface DefaultQueryResult
id
- the index keypublic Integer getPublicationId()
getPublicationId
in interface DefaultQueryResult
public void setPublicationId(Integer publicationId)
DefaultQueryResult
setPublicationId
in interface DefaultQueryResult
publicationId
- Publication id.public String getPublicationTitle()
getPublicationTitle
in interface DefaultQueryResult
public void setPublicationTitle(String publicationTitle)
DefaultQueryResult
setPublicationTitle
in interface DefaultQueryResult
publicationTitle
- Publication title.public String getNamespace()
getNamespace
in interface DefaultQueryResult
public void setNamespace(String namespace)
DefaultQueryResult
setNamespace
in interface DefaultQueryResult
namespace
- Namespace.public String getItemType()
DefaultQueryResult
getItemType
in interface DefaultQueryResult
public void setItemType(String itemType)
DefaultQueryResult
setItemType
in interface DefaultQueryResult
itemType
- the item typepublic void setLocale(Locale locale)
DefaultQueryResult
setLocale
in interface DefaultQueryResult
locale
- the Locale.public Optional<Locale> getLocale()
getLocale
in interface DefaultQueryResult
public String getUrl()
getUrl
in interface DefaultQueryResult
public void setUrl(String url)
DefaultQueryResult
setUrl
in interface DefaultQueryResult
url
- Url.public String getLocation()
getLocation
in interface DefaultQueryResult
public void setLocation(String location)
DefaultQueryResult
setLocation
in interface DefaultQueryResult
location
- Location.public String getAuthor()
getAuthor
in interface DefaultQueryResult
public void setAuthor(String author)
DefaultQueryResult
setAuthor
in interface DefaultQueryResult
author
- Author.public String getRawLanguageTitle()
getRawLanguageTitle
in interface DefaultQueryResult
public void setRawLanguageTitle(String rawLanguageTitle)
DefaultQueryResult
setRawLanguageTitle
in interface DefaultQueryResult
rawLanguageTitle
- Raw language title.public String getSchemaId()
getSchemaId
in interface DefaultQueryResult
public void setSchemaId(String schemaId)
DefaultQueryResult
setSchemaId
in interface DefaultQueryResult
schemaId
- Schema Id.public void setContent(String content)
DefaultQueryResult
setContent
in interface DefaultQueryResult
content
- the content.public Optional<String> getContent()
getContent
in interface DefaultQueryResult
public Optional<Map<String,Object>> getFields()
getFields
in interface DefaultQueryResult
public void setFields(Map<String,Object> fields)
setFields
in interface DefaultQueryResult
public String getRawContent()
getRawContent
in interface DefaultQueryResult
public String getBinaryFileName()
DefaultQueryResult
getBinaryFileName
in interface DefaultQueryResult
public void setBinaryFileName(String binaryFileName)
setBinaryFileName
in interface DefaultQueryResult
public String getBinaryContentType()
DefaultQueryResult
getBinaryContentType
in interface DefaultQueryResult
public void setBinaryContentType(String binaryContentType)
setBinaryContentType
in interface DefaultQueryResult
public Long getBinaryContentLength()
DefaultQueryResult
getBinaryContentLength
in interface DefaultQueryResult
public void setBinaryContentLength(Long binaryContentLength)
setBinaryContentLength
in interface DefaultQueryResult
public String getBinaryLanguage()
DefaultQueryResult
getBinaryLanguage
in interface DefaultQueryResult
public void setBinaryLanguage(String binaryLanguage)
setBinaryLanguage
in interface DefaultQueryResult
public String getBinaryCreatedDate()
DefaultQueryResult
getBinaryCreatedDate
in interface DefaultQueryResult
public void setBinaryCreatedDate(String binaryCreatedDate)
setBinaryCreatedDate
in interface DefaultQueryResult
public String getBinaryAuthor()
DefaultQueryResult
getBinaryAuthor
in interface DefaultQueryResult
public void setBinaryAuthor(String binaryAuthor)
setBinaryAuthor
in interface DefaultQueryResult
public String getBinaryTitle()
DefaultQueryResult
getBinaryTitle
in interface DefaultQueryResult
public void setBinaryTitle(String binaryTitle)
setBinaryTitle
in interface DefaultQueryResult
public void setRawContent(String rawContent)
DefaultQueryResult
setRawContent
in interface DefaultQueryResult
rawContent
- Raw content.public Optional<Map<String,List<String>>> getHighlighted()
DefaultQueryResult
getHighlighted
in interface DefaultQueryResult
public void setHighlighted(Map<String,List<String>> highlighted)
setHighlighted
in interface DefaultQueryResult
public String getCreatedDate()
getCreatedDate
in interface DefaultQueryResult
public void setCreatedDate(String createdDate)
DefaultQueryResult
setCreatedDate
in interface DefaultQueryResult
createdDate
- Creation date.public String getModifiedDate()
getModifiedDate
in interface DefaultQueryResult
public void setModifiedDate(String modifiedDate)
DefaultQueryResult
setModifiedDate
in interface DefaultQueryResult
modifiedDate
- Modified date.public String getMajorVersion()
getMajorVersion
in interface DefaultQueryResult
public void setMajorVersion(String majorVersion)
DefaultQueryResult
setMajorVersion
in interface DefaultQueryResult
majorVersion
- Major version.public String getMinorVersion()
getMinorVersion
in interface DefaultQueryResult
public void setMinorVersion(String minorVersion)
DefaultQueryResult
setMinorVersion
in interface DefaultQueryResult
minorVersion
- Minor version.public Map<String,Set<String>> getConcepts()
DefaultQueryResult
getConcepts
in interface DefaultQueryResult
public void setConcepts(Map<String,Set<String>> concepts)
setConcepts
in interface DefaultQueryResult
public Double getScore()
DefaultQueryResult
getScore
in interface DefaultQueryResult
public void setScore(Double score)
setScore
in interface DefaultQueryResult
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries