• Publicity: Public Only All

tsearch2-driver-procs.tcl

Procedures for tsearch full text engine driver

Location:
packages/tsearch2-driver/tcl/tsearch2-driver-procs.tcl
Created:
2004-06-05
Author:
Dave Bauer <dave@thedesignexperience.org>
CVS Identification:
$Id: tsearch2-driver-procs.tcl,v 1.41.2.10 2022/02/18 09:29:51 antoniop Exp $

Procedures in this file

Detailed information

tsearch2::build_query_tcl (public)

 tsearch2::build_query_tcl [ -query query ]

Convert conjunctions to query characters for tsearch2 and => & not => ! or => | space => | (or)

Switches:
-query (optional)
string to convert
Returns:
returns formatted query string for tsearch2 tsquery

Partial Call Graph (max 5 caller/called nodes):
%3 test_build_query_tcl build_query_tcl (test tsearch2-driver) tsearch2::build_query_tcl tsearch2::build_query_tcl test_build_query_tcl->tsearch2::build_query_tcl tsearch2::build_query tsearch2::build_query (private) tsearch2::build_query->tsearch2::build_query_tcl tsearch2::build_query_postgres tsearch2::build_query_postgres (private) tsearch2::build_query_postgres->tsearch2::build_query_tcl

Testcases:
build_query_tcl

tsearch2::driver_info (public)

 tsearch2::driver_info
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2004-06-05

Partial Call Graph (max 5 caller/called nodes):
%3 test_driver_info driver_info (test tsearch2-driver) tsearch2::driver_info tsearch2::driver_info test_driver_info->tsearch2::driver_info AcsSc.ftsenginedriver.info.tsearch2_driver AcsSc.ftsenginedriver.info.tsearch2_driver (private) AcsSc.ftsenginedriver.info.tsearch2_driver->tsearch2::driver_info callback::search::driver_info::impl::tsearch2-driver callback::search::driver_info::impl::tsearch2-driver (private) callback::search::driver_info::impl::tsearch2-driver->tsearch2::driver_info

Testcases:
driver_info

tsearch2::index (public)

 tsearch2::index object_id txt title keywords

Add or update an object in the full text index.

Parameters:
object_id
txt
title
keywords
Returns:
nothing
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2004-06-05

Partial Call Graph (max 5 caller/called nodes):
%3 test_index_unindex index_unindex (test tsearch2-driver) tsearch2::index tsearch2::index test_index_unindex->tsearch2::index AcsSc.ftsenginedriver.index.tsearch2_driver AcsSc.ftsenginedriver.index.tsearch2_driver (private) AcsSc.ftsenginedriver.index.tsearch2_driver->tsearch2::index AcsSc.ftsenginedriver.update_index.tsearch2_driver AcsSc.ftsenginedriver.update_index.tsearch2_driver (private) AcsSc.ftsenginedriver.update_index.tsearch2_driver->tsearch2::index tsearch2::update_index tsearch2::update_index (public, deprecated) tsearch2::update_index->tsearch2::index

Testcases:
index_unindex

tsearch2::summary (public)

 tsearch2::summary query txt

Highlights matching terms.

Parameters:
query
txt
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 AcsSc.ftsenginedriver.summary.tsearch2_driver AcsSc.ftsenginedriver.summary.tsearch2_driver (private) AcsSc.ftsenginedriver.summary.tsearch2_driver->tsearch2::summary

Testcases:
summary

tsearch2::unindex (public)

 tsearch2::unindex object_id

Remove item from FTS index

Parameters:
object_id
Returns:
nothing
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2004-06-05

Partial Call Graph (max 5 caller/called nodes):
%3 test_index_unindex index_unindex (test tsearch2-driver) tsearch2::unindex tsearch2::unindex test_index_unindex->tsearch2::unindex AcsSc.ftsenginedriver.unindex.tsearch2_driver AcsSc.ftsenginedriver.unindex.tsearch2_driver (private) AcsSc.ftsenginedriver.unindex.tsearch2_driver->tsearch2::unindex

Testcases:
index_unindex

tsearch2::update_index (public, deprecated)

 tsearch2::update_index [ args... ]
Deprecated. Invoking this procedure generates a warning.

update full text index DEPRECATED: modern SQL supports upsert idioms

Returns:
nothing
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2004-06-05

See Also:

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
[ show source ]