in reply to Re^5: Using the unicode61 tokenizer in DBD::SQLite
in thread Using the unicode61 tokenizer in DBD::SQLite
use strict; use warnings; use DBI; my $dbh = DBI->connect( "dbi:SQLite:dbname=test.db", "", "", { # RaiseError => 1, # we'll hand +le the errors ourselves sqlite_unicode => 1, } ) or die "Can't connect to database: $DBI::err +str"; my $sqliteversion = $dbh->{sqlite_version}; print "\nSQLite version: $ +sqliteversion\n"; $dbh->do("DROP TABLE IF EXISTS data") or print "drop table failed"; $dbh->do("CREATE VIRTUAL TABLE data USING fts4 (col1 TEXT, col2 TEXT, +tokenize=unicode61)") or print "failed to create fts4 table";
SQLite version: 3.8.0.2 DBD::SQLite::db do failed: unknown tokenizer: unicode61 at e:\uni612.p +l line 22. failed to create fts4 table
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Using the unicode61 tokenizer in DBD::SQLite
by Corion (Patriarch) on Jan 08, 2014 at 08:18 UTC | |
by elef (Friar) on Jan 08, 2014 at 10:05 UTC | |
by Corion (Patriarch) on Jan 08, 2014 at 10:12 UTC | |
|
Re^7: Using the unicode61 tokenizer in DBD::SQLite
by Anonymous Monk on Jan 08, 2014 at 08:11 UTC | |
by elef (Friar) on Jan 08, 2014 at 10:13 UTC | |
by Anonymous Monk on Jan 08, 2014 at 10:42 UTC |