Skip to content

/AWS1/CL_SRHLITERALOPTIONS

Options for literal field. Present if IndexFieldType specifies the field is of type literal. All options are enabled by default.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_defaultvalue TYPE /AWS1/SRHFIELDVALUE /AWS1/SRHFIELDVALUE

A value to use for the field if the field isn't specified for a document.

iv_sourcefield TYPE /AWS1/SRHFIELDNAME /AWS1/SRHFIELDNAME

SourceField

iv_facetenabled TYPE /AWS1/SRHBOOLEAN /AWS1/SRHBOOLEAN

Whether facet information can be returned for the field.

iv_searchenabled TYPE /AWS1/SRHBOOLEAN /AWS1/SRHBOOLEAN

Whether the contents of the field are searchable.

iv_returnenabled TYPE /AWS1/SRHBOOLEAN /AWS1/SRHBOOLEAN

Whether the contents of the field can be returned in the search results.

iv_sortenabled TYPE /AWS1/SRHBOOLEAN /AWS1/SRHBOOLEAN

Whether the field can be used to sort the search results.


Queryable Attributes

DefaultValue

A value to use for the field if the field isn't specified for a document.

Accessible with the following methods

Method Description
GET_DEFAULTVALUE() Getter for DEFAULTVALUE, with configurable default
ASK_DEFAULTVALUE() Getter for DEFAULTVALUE w/ exceptions if field has no value
HAS_DEFAULTVALUE() Determine if DEFAULTVALUE has a value

SourceField

SourceField

Accessible with the following methods

Method Description
GET_SOURCEFIELD() Getter for SOURCEFIELD, with configurable default
ASK_SOURCEFIELD() Getter for SOURCEFIELD w/ exceptions if field has no value
HAS_SOURCEFIELD() Determine if SOURCEFIELD has a value

FacetEnabled

Whether facet information can be returned for the field.

Accessible with the following methods

Method Description
GET_FACETENABLED() Getter for FACETENABLED, with configurable default
ASK_FACETENABLED() Getter for FACETENABLED w/ exceptions if field has no value
HAS_FACETENABLED() Determine if FACETENABLED has a value

SearchEnabled

Whether the contents of the field are searchable.

Accessible with the following methods

Method Description
GET_SEARCHENABLED() Getter for SEARCHENABLED, with configurable default
ASK_SEARCHENABLED() Getter for SEARCHENABLED w/ exceptions if field has no value
HAS_SEARCHENABLED() Determine if SEARCHENABLED has a value

ReturnEnabled

Whether the contents of the field can be returned in the search results.

Accessible with the following methods

Method Description
GET_RETURNENABLED() Getter for RETURNENABLED, with configurable default
ASK_RETURNENABLED() Getter for RETURNENABLED w/ exceptions if field has no value
HAS_RETURNENABLED() Determine if RETURNENABLED has a value

SortEnabled

Whether the field can be used to sort the search results.

Accessible with the following methods

Method Description
GET_SORTENABLED() Getter for SORTENABLED, with configurable default
ASK_SORTENABLED() Getter for SORTENABLED w/ exceptions if field has no value
HAS_SORTENABLED() Determine if SORTENABLED has a value