tsearch2::indexed_keywords_p (private)
tsearch2::indexed_keywords_p [ -object_id object_id ] \ [ -keywords keywords ]
Defined in packages/tsearch2-driver/tcl/test/tsearch2-driver-procs.tcl
Helper proc to check if the keywords are indexed
- Switches:
- -object_id (optional)
- -keywords (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {[db_0or1row object_details { select fti from txt where object_id=:object_id }]} { set split_fti [split $fti '] foreach keyword $keywords { if {$keyword ni $split_fti} { aa_log "Keyword ($keyword) not found in fti: $fti" return false } else { aa_log "Keyword ($keyword) found" } } return true } else { return false }XQL Not present: Generic, PostgreSQL, Oracle