当前位置: 代码迷 >> Oracle管理 >> oracle sql,该怎么处理
  详细解决方案

oracle sql,该怎么处理

热度:105   发布时间:2016-04-24 04:14:31.0
oracle sql

下面这个方法是什么意思?
每个参数的作用?
求大神指导0.0
 CTX_DOC.MARKUP(index_name,textkey,text_query,V_RESTAB,FALSE,STARTTAG =>'<font style=''color:red;''>',ENDTAG =>'</font>');
------解决方案--------------------
全文检索中用的,通过使用Oracle Text查询应用程序,用户可查看查询所返回的文档。用户从命中列表中选择一个文档,然后应用程序以某种形式显示该文档 
/*NAME
    markup - return marked-up document

  DESCRIPTION
    Markup takes a document reference and a query, and returns a marked-up
    plain text version of the document
    The result table should have the following columns:

      query_id number    (the query id)
      document clob      (marked-up document)

  ARGUMENTS
    index_name  -- name of the index
    textkey     -- the document for which to produce highlights
    text_query  -- the query
    restab      -- the highlight result table
    query_id    -- a query id
    plaintext   -- set to TRUE if plaintext markup is required
    tagset      -- name of tagset
                     TEXT_DEFAULT
                     HTML_DEFAULT
                     HTML_NAVIGATE
    starttag    -- the start mark-up tag
    endtag      -- the end mark-up tag
    prevtag     -- the navigate to previous highlight mark-up tag
    nexttag     -- the navigate to next highlight mark-up tag
*/
------解决方案--------------------
引用:
全文检索中用的,通过使用Oracle Text查询应用程序,用户可查看查询所返回的文档。用户从命中列表中选择一个文档,然后应用程序以某种形式显示该文档 
/*NAME
    markup - return marked-up document

  DESCRIPTION
    Markup takes a document reference and a query, and returns a marked-up
    plain text version of the document
    The result table should have the following columns:

      query_id number    (the query id)
      document clob      (marked-up document)

  ARGUMENTS
    index_name  -- name of the index
    textkey     -- the document for which to produce highlights
    text_query  -- the query
    restab      -- the highlight result table
    query_id    -- a query id
    plaintext   -- set to TRUE if plaintext markup is required
    tagset      -- name of tagset
                     TEXT_DEFAULT
                     HTML_DEFAULT
                     HTML_NAVIGATE
    starttag    -- the start mark-up tag
    endtag      -- the end mark-up tag
    prevtag     -- the navigate to previous highlight mark-up tag
    nexttag     -- the navigate to next highlight mark-up tag
*/

++++
  相关解决方案