tsearch2::build_query (private)

 tsearch2::build_query [ -query query ]

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

Build query string for tsearch2

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

Partial Call Graph (max 5 caller/called nodes):
%3 callback::search::search::impl::tsearch2-driver callback::search::search::impl::tsearch2-driver (private) tsearch2::build_query tsearch2::build_query callback::search::search::impl::tsearch2-driver->tsearch2::build_query tsearch2::summary tsearch2::summary (public) tsearch2::summary->tsearch2::build_query db_compatible_rdbms_p db_compatible_rdbms_p (public) tsearch2::build_query->db_compatible_rdbms_p db_version db_version (public) tsearch2::build_query->db_version tsearch2::build_query_postgres tsearch2::build_query_postgres (private) tsearch2::build_query->tsearch2::build_query_postgres tsearch2::build_query_tcl tsearch2::build_query_tcl (public) tsearch2::build_query->tsearch2::build_query_tcl

Testcases:
No testcase defined.
Source code:
    if {$::tsearch2_driver::use_web_search_p
        && [db_compatible_rdbms_p postgresql]
        && [lindex [split [db_version] .] 0] >= 11
    } {
        set query [tsearch2::build_query_postgres -query $query]
    } else {
        set query [tsearch2::build_query_tcl -query $query]
    }

    return $query
XQL Not present:
Generic, Oracle
PostgreSQL XQL file:
packages/tsearch2-driver/tcl/tsearch2-driver-procs-postgresql.xql

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