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):
- 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