/AWS1/CL_QQBRELEVANTCONTENT¶
Represents a piece of content that is relevant to a search query.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_content TYPE /AWS1/QQBSTRING /AWS1/QQBSTRING¶
The actual content of the relevant item.
iv_documentid TYPE /AWS1/QQBDOCUMENTID /AWS1/QQBDOCUMENTID¶
The unique identifier of the document containing the relevant content.
iv_documenttitle TYPE /AWS1/QQBTITLE /AWS1/QQBTITLE¶
The title of the document containing the relevant content.
iv_documenturi TYPE /AWS1/QQBURL /AWS1/QQBURL¶
The URI of the document containing the relevant content.
it_documentattributes TYPE /AWS1/CL_QQBDOCUMENTATTRIBUTE=>TT_DOCUMENTATTRIBUTES TT_DOCUMENTATTRIBUTES¶
Additional attributes of the document containing the relevant content.
io_scoreattributes TYPE REF TO /AWS1/CL_QQBSCOREATTRIBUTES /AWS1/CL_QQBSCOREATTRIBUTES¶
Attributes related to the relevance score of the content.
Queryable Attributes¶
content¶
The actual content of the relevant item.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENT() |
Getter for CONTENT, with configurable default |
ASK_CONTENT() |
Getter for CONTENT w/ exceptions if field has no value |
HAS_CONTENT() |
Determine if CONTENT has a value |
documentId¶
The unique identifier of the document containing the relevant content.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DOCUMENTID() |
Getter for DOCUMENTID, with configurable default |
ASK_DOCUMENTID() |
Getter for DOCUMENTID w/ exceptions if field has no value |
HAS_DOCUMENTID() |
Determine if DOCUMENTID has a value |
documentTitle¶
The title of the document containing the relevant content.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DOCUMENTTITLE() |
Getter for DOCUMENTTITLE, with configurable default |
ASK_DOCUMENTTITLE() |
Getter for DOCUMENTTITLE w/ exceptions if field has no value |
HAS_DOCUMENTTITLE() |
Determine if DOCUMENTTITLE has a value |
documentUri¶
The URI of the document containing the relevant content.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DOCUMENTURI() |
Getter for DOCUMENTURI, with configurable default |
ASK_DOCUMENTURI() |
Getter for DOCUMENTURI w/ exceptions if field has no value |
HAS_DOCUMENTURI() |
Determine if DOCUMENTURI has a value |
documentAttributes¶
Additional attributes of the document containing the relevant content.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DOCUMENTATTRIBUTES() |
Getter for DOCUMENTATTRIBUTES, with configurable default |
ASK_DOCUMENTATTRIBUTES() |
Getter for DOCUMENTATTRIBUTES w/ exceptions if field has no |
HAS_DOCUMENTATTRIBUTES() |
Determine if DOCUMENTATTRIBUTES has a value |
scoreAttributes¶
Attributes related to the relevance score of the content.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCOREATTRIBUTES() |
Getter for SCOREATTRIBUTES |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_RELEVANTCONTENTLIST¶
TYPES TT_RELEVANTCONTENTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_QQBRELEVANTCONTENT WITH DEFAULT KEY
.