tndrle / node-sqlite3-wasm

WebAssembly port of SQLite3 for Node.js with file system access
MIT License
55 stars 8 forks source link

Include FTS5 extension #45

Closed jbaiter closed 8 months ago

jbaiter commented 8 months ago

It would be great if the SQLite build could include the FTS5 extension to support use cases that need fulltext search support. It should be enough include -DSQLITE_ENABLE_FTS5 in SQLITE_FLAGS

tndrle commented 8 months ago

Thanks for the request. The new v0.8.0 supports it.

phil294 commented 1 week ago

This is wonderful, thank you so much for your efforts and the concise documentation @tndrle! It seems that SQLite+FTS+wasm is now the all-around best portable full text search toolset for Node. I have ported my wip VSCode extension (thus the need for cross-platformness) from search-index to node-sqlite3-wasm and got an immediate speed boost by factor ~10.