Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64603
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-01-23 05:24 -0800 |
| References | <dd786a2e-a485-4819-8e5f-8336f2d4f98d@googlegroups.com> |
| Message-ID | <ea07ea55-0590-4fba-9ff1-e462560a4f6e@googlegroups.com> (permalink) |
| Subject | Re: SQLite + FTS (full text search) |
| From | Asaf Las <roegltd@gmail.com> |
On Thursday, January 23, 2014 2:20:31 PM UTC+2, Mark Summerfield wrote:
> Hi,
> On my Debian stable 64-bit system, SQLite3 has FTS (full text search)
> enabled (although at version 3 rather than the recommended version 4):
>
> Python 3.2.3 (default, Feb 20 2013, 14:44:27) [GCC 4.7.2] on linux2
> Type "copyright", "credits" or "license()" for more information.
> >>> import sqlite3
> >>> con = sqlite3.connect(":memory:")
> >>> cur = con.execute("pragma compile_options")
> >>> for row in cur:
> print(row)
> ...
> ('ENABLE_FTS3',)
> ...
> But on Windows when I use the official Python 3.3 32-bit binary
> from www.python.org this is not enabled.
>
> My guess is that on Debian, the packagers install a full SQLite 3
> and the Python package uses that. But on Windows I think the Python
> packagers bundle their own SQLite (quite rightly since it might not
> already be installed).
>
> I'd like the Windows binary to include SQLite 3 with FTS4 support,
> but I don't know how much work that involves or if it would make
> the Python .msi file too big?
>
> Anyway, I guess if anyone else is interested in this they
> could perhaps reply to indicate this?
> If you're curious about the feature, it is documented here:
>
> http://www.sqlite.org/fts3.html
It is compile time option.
http://www.sqlite.org/compile.html#enable_fts3
you have to build it with this option enabled.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
SQLite + FTS (full text search) Mark Summerfield <list@qtrac.plus.com> - 2014-01-23 04:20 -0800
Re: SQLite + FTS (full text search) Asaf Las <roegltd@gmail.com> - 2014-01-23 05:24 -0800
Re: SQLite + FTS (full text search) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-23 13:39 +0000
Re: SQLite + FTS (full text search) Asaf Las <roegltd@gmail.com> - 2014-01-23 05:49 -0800
Re: SQLite + FTS (full text search) Rustom Mody <rustompmody@gmail.com> - 2014-01-23 07:23 -0800
Re: SQLite + FTS (full text search) Chris Angelico <rosuav@gmail.com> - 2014-01-24 01:13 +1100
Re: SQLite + FTS (full text search) Terry Reedy <tjreedy@udel.edu> - 2014-01-23 19:59 -0500
RE: SQLite + FTS (full text search) "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-01-23 13:23 +0000
Re: SQLite + FTS (full text search) Antoine Pitrou <solipsis@pitrou.net> - 2014-01-23 14:09 +0000
Re: SQLite + FTS (full text search) Mark Summerfield <list@qtrac.plus.com> - 2014-01-23 06:39 -0800
csiph-web