reyesr / fullproof

javascript fulltext search engine library
http://reyesr.github.com/fullproof/
Apache License 2.0
666 stars 46 forks source link

Use with Node.js #1

Open nevf opened 12 years ago

nevf commented 12 years ago

First let me say Fullproof looks impressive. It is terrific to see the code is heavily commented and you've written a tutorial etc. If only all dev's did this.

I'm wondering whether you've given any thought to using Fullproof on the server with Node.js and say MongoDB. MongoDB doesn't have full text search.

I couldn't agree more with your comment on Browser based databases, it is truly a mess. I'm using WebSQL in one app and am looking at IndexedDB/WebSQL shims and a newish library that lets you write database access code that works on IndexedDB, WebSQL and LocalStorage. Let me know if you want links.

Finally any plans to provide build's of the minified and full code in a single JS file?

-Neville

reyesr commented 12 years ago

Hi Neville, I'm going to upload soon the minified single-file release, in the meantime it's easy to create them (on linux) using the /tools/build-all.sh script (it creates a release in the /build/ folder).

Regarding a server version using some datastore, it's totally something worth mentionning it, and wouldn't require a lot of work, since all what fullproof's store system requires is a back-end able to manage indexes, which is what any database can do. I'll definitely have a look at this.

thanks for your support!

nevf commented 12 years ago

Hi Rodrigo, I did see the build script, however I'm on Windows so it isn't useful. No hurry for minified version. I read the comment ~100K minified and a quick browse of some of the code and it didn't seem that big.

I'll be interested to see what you do with a Node.js version.

stereobooster commented 11 years ago

Actually latest mongo support fulltext. Anyway it will be interesting to see it in nodejs.

nevf commented 11 years ago

@stereobooster Thanks for the heads up on Mongo fulltext. My Mongo documents are html and therefore html markup has to be ignored by the text search. From my reading of the Mongo release notes there is no way to handle this use case.