Sunday, 3 December 2017

What package do you recommend for fulltext search in an Electron app?

I'm thinking of writing a note organizer app with extensive search, and was considering Electron.sqlite3's FTS functionality would do all of the heavy lifting for me. Unfortunately there doesn't appear to be any packages that integrate it in their API. Building complicated queries dynamically based on the user's many possible search options would've been wonderful with a knex-like API.Even ignoring that, the auxiliary functions didn't work at all with the Mapbox's low-level 'sqlite3' npm package (like highlight() and snippet() which show a short preview of the matching text like search engines do). As soon as I try to use an auxiliary function the driver only returns undefined.Is there something out there I could use?

Submitted December 03, 2017 at 09:10PM by blamo111

No comments:

Post a Comment