If it's just a proof-of-concept, it may be simpler to use something 
embedded like sqlite's Full Text Search, than firing off requests to a 
different process or different server. Note that a SQLite approach won't 
scale (at least, not without a significant amount of forethought, planning, 
sharding, etc), but for a proof-of-concept it can be a good choice.

You can install node's sqlite module 
(https://github.com/mapbox/node-sqlite3) by doing `npm install sqlite3`. By 
default it includes SQLite's FTS3 and FTS4. There's an example of how to 
use fts4 
here: 
https://github.com/mapbox/node-sqlite3/blob/master/test/fts-content.test.js. 
And you'll want to read at least the beginning of the FTS3-4 
docs: https://www.sqlite.org/fts3.html.

Regarding feathers.js integration, you could look at the feathers knex or 
sequelize modules and see if their sqlite support is helpful. That said, 
those kinds of query-builders are usually focused on relational database 
access, so I don't know if they would be helpful with Full Text Search or 
if they would just get in the way. You may be better off just doing it 
manually. While you're at it, you could look at the mongo/mongoose modules 
to see if they expose mongo's Full Text Search capabilities.

-- peter

On Tuesday, April 19, 2016 at 9:34:10 AM UTC-7, Duy Nguyen wrote:
>
>
> Seems I didn't explain clearly my need, so it caused some problems, my 
> intention is that I want to know who had built any  search engine plugin to 
> work with featherjs framework, so I can use it without much effort to setup.
>
> As you can see here <https://github.com/feathersjs>, featherjs supported 
> some built-in modules allow you to interact with stripe or twilio easily, 
> but not any module for search.
>
> I'm working on POC, so built-in plugin is much more helpful than 
> independent solution like ElasticSearch. Full text search by mongodb is 
> second option also.
>
> Anw, thanks guys for you help, and hope I explained clearly my need :)
>
> Thanks,
>
>
> On Tue, Apr 19, 2016 at 4:58 AM, Matt <[email protected] <javascript:>> 
> wrote:
>
>> I sometimes wonder if people even try and google their problems these 
>> days...
>>
>> Fifth entry on the first page for "mongodb full text search": 
>> https://www.compose.io/articles/full-text-search-with-mongodb-and-node-js/
>>
>> On Sun, Apr 17, 2016 at 7:10 AM, Duy Nguyen <[email protected] 
>> <javascript:>> wrote:
>>
>>> Hi,
>>>
>>> I'm working on my side project using FeathersJS(feathersjs.com) 
>>> framework. As design I need to create full text Search service, can anyone 
>>> share your experience which Search engine is good for you with pros and 
>>> cons?
>>>
>>> I'm using mongodb btw.
>>>
>>> Thanks,
>>> -- 
>>> Nguyen Hai Duy
>>> Mobile : 0914 72 1900
>>> Skype: nguyenhd2107
>>>
>>> -- 
>>> Job board: http://jobs.nodejs.org/
>>> New group rules: 
>>> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
>>> Old group rules: 
>>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "nodejs" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> To post to this group, send email to [email protected] 
>>> <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/nodejs/CAGOR8-0WB7kwp0E%3DPxYhNDr6PGwNNazMgH3nhXBEZvqmKLUcRQ%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/nodejs/CAGOR8-0WB7kwp0E%3DPxYhNDr6PGwNNazMgH3nhXBEZvqmKLUcRQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
>> Job board: http://jobs.nodejs.org/
>> New group rules: 
>> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
>> Old group rules: 
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/nodejs/CAPJ5V2YqjmZJGds4NycVAWTihNw9YTrTbBn-%3DU%2BRCUTTcz8qgw%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/nodejs/CAPJ5V2YqjmZJGds4NycVAWTihNw9YTrTbBn-%3DU%2BRCUTTcz8qgw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Nguyen Hai Duy
> Mobile : 0914 72 1900
> Skype: nguyenhd2107
>
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/4245586b-a285-40d5-8d75-04bcdb2f44ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to