Fonction SAP TREX_EXT_SEARCH_SIMILAR_DOCS - Search for similar documents

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_DOC_SEL_QUERY TREX_RFC-DOC_SEL_QUERY C 1024 X DocumentSelectionQuery
I_HIGHLIGHT_ATTRIBUTES TREXT_ATTRIBUTES h 64 X Attributes for Highlighting
I_INDEXES TREXT_INDEXLIST h 98 Index list
I_INDEXSERVER_LOCATION TREX_RFC-LOCATION C 20 X Index server (Host:Port)
I_REQUEST_FLAGS TREX_RFC-REQUEST_FLAG N 10 0 X 1: DidYouMean, 2: Snippets
I_REQ_ATTRIBUTES TREXT_ATTRIBUTES h 64 X Requested Attributes
I_RESULT_FROM I I 4 1 X from
I_RESULT_TO I I 4 20 X to
I_RFC_DESTINATION TREX_RFC-RFC_DESTINATION C 32 X RFC Destination
I_SEARCH_DOCS TREXT_SEARCH_DOCS h 112 Search Docs
I_SORT_ATTRIBUTES TREXT_SORT_ATTRIBUTES h 151 X Sort Attributes (not yet implemented)
I_STAGING TREX_RFC-BOOLEAN N 1 0 X Staging, 0: false, 1: true

Paramètre Reférence Type Long. Description
E_INDEX_SIZE I I 4 Number of documents in index
E_NO_OF_HITS I I 4 Number of hits
E_RESULT_DOCS TREXT_RESULT_DOCS h 104 Result Documents
E_RETURN_CODE TREX_RFC-RETURN_CODE I 4 Return code
E_RETURN_TEXT TREX_RFC-RETURN_TEXT C 200 Return text

Exception Description
CONVERSION_ERROR Error during Conversion from/to UTF-8
ERROR Error, see Error Message