cocoamine.net - The Guinea Pig in the Cocoa Mine

Description: TL;DR? If you use SQlite FTS4 for indexing large immutable documents, you might want to consider contentless tables. With minor adjustments, the …

Example domain paragraphs

Sep 7 th , 2015

TL;DR? If you use SQlite FTS4 for indexing large immutable documents, you might want to consider contentless tables. With minor adjustments, the database could be 2 to 3-time smaller.

Gus Mueller recently detailed how Acorn 5 ’s Help menu implements live searching of all their online documentation . The actual help content is huge and hosted on Acorn’s website. To provide local search from within the app, a small SQLite database is embedded in Acorn. The database uses the brilliant FTS4 extension extension module which allows to create virtual tables for super-fast full-text search. Combine this with NSUserInterfaceItemSearching , and you get a clever yet simple setup for a powerful Help

Links to cocoamine.net (1)