W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

[IndexedDB] Full text search?

From: Javier Holguera <jholguerablanco@hotmail.com>
Date: Sun, 8 Apr 2012 16:19:27 +0200
Message-ID: <COL111-DS58DABAB8C97DC1D74DF1DA7360@phx.gbl>
To: <public-webapps@w3.org>


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


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,



Received on Sunday, 8 April 2012 14:19:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:33 UTC