yathit / ydn-db

Javascript database module for Indexeddb, Web SQL and localStorage storage mechanisms supporting version migration, advanced query, SQL and transaction.
Apache License 2.0
503 stars 41 forks source link

Full text search - broken in IE11? #42

Open tyrex1975 opened 9 years ago

tyrex1975 commented 9 years ago

Hi there,

I'm having trouble with the full text searching library in YDN-DB. It worked previously in v0.8.4 beta, but it seems to be broken in v1.1.1...

Fiddle here: http://jsfiddle.net/hmtphw6b/1/ (example taken from documentation page: http://dev.yathit.com/api/ydn/db/storage.html)

If you load in IE11, it throws a 'DataError'. If you load in Chrome it returns results as expected.

Any ideas? Thanks in advance!

yathit commented 9 years ago

Thanks for reporting.

See this commit https://github.com/yathit/ydn-db-fulltext/commit/1b597fa615092cdac08f0a25eb880dcb8da042da#commitcomment-9562701 I though we already have composite polyfill for IE10, but apparently not.

tyrex1975 commented 9 years ago

Thank you - will I need to wait for the next release to use in my code? (Sorry I'm not experienced with GitHub).

yathit commented 9 years ago

The library is used in many applications and no problem with it. I fixed only when our premium users needed.

calebeaires commented 9 years ago

IE11 does not use multi-valued indexes!