[Home] [Help]
917: If csr_doc_exists%found then
918: close csr_doc_exists;
919: --
920: -- Convert document
921: ctx_doc.filter(index_name => l_hr_username || '.IRC_DOCUMENTS_CTX',
922: textkey => l_rowid,
923: restab => clob_doc,
924: plaintext => true);
925: --
1001: if (get_schema_name%found) then
1002: close get_schema_name;
1003: -- Highlight the keywords if highlight string is null
1004: if (trim(p_highlight_string) is not null) then
1005: CTX_DOC.MARKUP (index_name => l_schema_name||'.IRC_DOCUMENTS_CTX' ,
1006: textkey => l_rowid,
1007: text_query => p_highlight_string,
1008: restab => l_output_clob,
1009: plaintext => FALSE,
1012: endtag => IRC_MARKUP_ENDTAG);
1013:
1014: -- IF keyword is null then generate html version without markup
1015: else
1016: ctx_doc.filter(index_name => l_schema_name||'.IRC_DOCUMENTS_CTX',
1017: textkey => l_rowid,
1018: restab => l_output_clob,
1019: plaintext => false);
1020: end if;