Skip to content

/AWS1/CL_KNDEXPANDEDRESULTITEM

A single expanded result in a collapsed group of search results.

An expanded result item contains information about an expanded result document within a collapsed group of search results. This includes the original location of the document, a list of attributes assigned to the document, and relevant text from the document that satisfies the query.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_id TYPE /AWS1/KNDRESULTID /AWS1/KNDRESULTID

The identifier for the expanded result.

iv_documentid TYPE /AWS1/KNDDOCUMENTID /AWS1/KNDDOCUMENTID

The idenitifier of the document.

io_documenttitle TYPE REF TO /AWS1/CL_KNDTEXTWITHHIGHLIGHTS /AWS1/CL_KNDTEXTWITHHIGHLIGHTS

DocumentTitle

io_documentexcerpt TYPE REF TO /AWS1/CL_KNDTEXTWITHHIGHLIGHTS /AWS1/CL_KNDTEXTWITHHIGHLIGHTS

DocumentExcerpt

iv_documenturi TYPE /AWS1/KNDURL /AWS1/KNDURL

The URI of the original location of the document.

it_documentattributes TYPE /AWS1/CL_KNDDOCUMENTATTRIBUTE=>TT_DOCUMENTATTRIBUTELIST TT_DOCUMENTATTRIBUTELIST

An array of document attributes assigned to a document in the search results. For example, the document author ("_author") or the source URI ("_source_uri") of the document.


Queryable Attributes

Id

The identifier for the expanded result.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

DocumentId

The idenitifier of the document.

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

DocumentTitle

Accessible with the following methods

Method Description
GET_DOCUMENTTITLE() Getter for DOCUMENTTITLE

DocumentExcerpt

DocumentExcerpt

Accessible with the following methods

Method Description
GET_DOCUMENTEXCERPT() Getter for DOCUMENTEXCERPT

DocumentURI

The URI of the original location of the document.

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

An array of document attributes assigned to a document in the search results. For example, the document author ("_author") or the source URI ("_source_uri") of the document.

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

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_EXPANDEDRESULTLIST

TYPES TT_EXPANDEDRESULTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_KNDEXPANDEDRESULTITEM WITH DEFAULT KEY
.