install this: https://github.com/rnewson/couchdb-lucene
configure the local.ini of couch db with follow lines
[external]
fti=/usr/bin/python /opt/couchdb-lucene/tools/couchdb-external-hook.py
[httpd_db_handlers]
_fti = {couch_httpd_external, handle_external_req, <<"fti">>}
and couchdb-lucene with this:
[local]
url = http://admin:admin@localhost:6003/
then:
hoodie install hoodie-plugin-profile
for cordova/phonegap users
bower install hoodie-plugin-profile
<script src="/_api/_files/hoodie.js"></script>
for cordova/phonegap users
<script src="<bowerdir>/hoodie/dist/hoodie.js"></script>
<script src="<bowerdir>/hoodie-plugin-profile/hoodie.profile.js"></script>