search::content_get (private)
search::content_get _txt content mime storage_type object_id
Defined in packages/search/tcl/search-procs.tcl
- Parameters:
- _txt (required)
- content (required)
- holds the filename if storage_type=file holds the text data if storage_type=text holds the lob_id if storage_type=lob
- mime (required)
- storage_type (required)
- object_id (required)
- Author:
- Neophytos Demetriou
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: upvar $_txt txt set txt "" set passing_style string # lob and file are not currently implemented switch $storage_type { text { set data $content } file { set data [content::revision::get_cr_file_path -revision_id $object_id] set passing_style file } lob { set data [db_blob_get get_lob_data {}] } } search::content_filter -passing_style $passing_style txt data $mimeXQL Not present: PostgreSQL Generic XQL file: <fullquery name="search::content_get.get_file_data"> <querytext> select :content as content, 'file' as storage_type from dual </querytext> </fullquery> <fullquery name="search::content_get.get_lob_data"> <querytext> select :content as content, 'lob' as storage_type from dual </querytext> </fullquery>packages/search/tcl/search-procs.xql
Oracle XQL file: packages/search/tcl/search-procs-oracle.xql