amyxzhang / lucy.js

A full-text search engine in the browser
22 stars 3 forks source link

README.md #1

Open LeaVerou opened 9 years ago

LeaVerou commented 9 years ago

This is a full-text search engine that runs inside a browser using the browser's IndexedDB database.

I thought what we’re doing is more like “Adds full text search capabilities to IndexedDB”, i.e. a library that developers can drop into their pages and get full text search for their existing database, i.e. something that enhances an existing indexedDB database (that could be used for a number of other things in the end-user-developer’s app), not a full text search engine that just uses indexedDB as storage. Have I completely misunderstood our entire project idea?

amyxzhang commented 9 years ago

I think both are the same thing. Think about it...if the user just uses our features, they are using a "full text search engine built on top of indexedDB". If they choose to use other features of indexedDB or are already using other features of indexedDB, they are "enhancing their use of indexedDB with full text search". In terms of code, we decided our code should be integrated with indexedDB API as opposed to rolling our own objects, so the latter way of looking at it may be more natural but I don't see why it can't also be seen as the former.