tsearch2::summary (public)

 tsearch2::summary query txt

Defined in packages/tsearch2-driver/tcl/tsearch2-driver-procs.tcl

Highlights matching terms.

Parameters:
query (required)
txt (required)
Returns:
summary containing search query terms
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2004-06-05

Partial Call Graph (max 5 caller/called nodes):
%3 test_summary summary (test tsearch2-driver) tsearch2::summary tsearch2::summary test_summary->tsearch2::summary db_string db_string (public) tsearch2::summary->db_string tsearch2::build_query tsearch2::build_query (private) tsearch2::summary->tsearch2::build_query AcsSc.ftsenginedriver.summary.tsearch2_driver AcsSc.ftsenginedriver.summary.tsearch2_driver (private) AcsSc.ftsenginedriver.summary.tsearch2_driver->tsearch2::summary

Testcases:
summary
Source code:
    set query [tsearch2::build_query -query $query]
    return [db_string summary {}]
XQL Not present:
Generic, Oracle
PostgreSQL XQL file:
<fullquery name="tsearch2::summary.summary">
    <rdbms>
        <type>postgresql</type>
        <version>8.3</version>
    </rdbms>
    <querytext>
      select ts_headline(:txt,to_tsquery(:query))
    </querytext>
</fullquery>
packages/tsearch2-driver/tcl/tsearch2-driver-procs-postgresql.xql

[ hide source ] | [ make this the default ]
Show another procedure: