- From: Javier Holguera <jholguerablanco@hotmail.com>
- Date: Sun, 8 Apr 2012 16:19:27 +0200
- To: <public-webapps@w3.org>
- Message-ID: <COL111-DS58DABAB8C97DC1D74DF1DA7360@phx.gbl>
Hi, I'm starting with IndexedDB with a simple sample application. It is a Tasks List which stores its information into a IndexedDB database. I may have chosen a simpler persistence technology, but I wanted to give a try to IndexedDB. Anyway, my application should allow searching in the stored tasks by a key word. For example, if I search by "dinner" word, I would like to retrieve entries in the database with names like "Dinner ingredients list", "Prepare the dinner" or "Ask Mary to do the dinner". I think it is a typical "Full text Search" example. How can it be implemented with IndexedDB? As far as I have read, I can retrieve elements from the database based on any of the object properties, but it must be a complete match. If it is not possible, it would force to move all Object Store records to memory to iterate over them and do the full text search "manually", which is quite inefficient. Thanks for the information. Kind Regards, Javier.
Received on Sunday, 8 April 2012 14:19:52 UTC