Brad Neuberg has built a rattling cushy to ingest computer lateral see agency titled PubTools Search using Gears. The send is open source and provides a enthusiastic boulevard to deal noesis on Gears itself.
To play the code, Brad wrote a detailed article:
Did you undergo that you crapper ingest Gearsto do fast, client-side intelligent of data, kindred to a client-side see engine? Gears bundles Full-Text Search (FTS) abilities correct into its local, SQLite database. MySpace, for example, uses this feature with their MySpace Mail application, downloading every of a user’s messages for fast, client-side search. Because every of the accumulation is local, you crapper do nifty things aforementioned see over the accumulation in real-time as the individual types, something that is such harder if you hit to ask over the meshwork to a computer to do the searching.
Would you aforementioned to add the aforementioned category of fast, topical intelligent to your possess scheme tender and scheme applications? This article introduces you to PubTools Search and the Gears features that noesis it, videlicet Full-Text Search and Workers. PubTools Search is an unstoppered maker JavaScript accumulation that drops a client-side see engine correct into your page. You configure it with base HTML nonnegative a itemize of URLs to index. Once loaded, a see modify that uses the topical Gears full-text see abilities module materialize in your tender to apace and locally see over the documents in actual instance as a individual types into the see field.
Brad sat downbound with me to handle the project, whatever of the prizewinning practices, and his ingest of Dojo.