Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudant-labs/SearchApp
SearchApp is a CouchDB application that enables full text search and creates a simple search page for any CouchApp or CouchDB database hosted on Cloudant's hosted CouchDB (https://cloudant.com)
https://github.com/cloudant-labs/SearchApp
Last synced: 5 days ago
JSON representation
SearchApp is a CouchDB application that enables full text search and creates a simple search page for any CouchApp or CouchDB database hosted on Cloudant's hosted CouchDB (https://cloudant.com)
- Host: GitHub
- URL: https://github.com/cloudant-labs/SearchApp
- Owner: cloudant-labs
- Created: 2011-01-26T22:26:08.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-09-17T12:03:26.000Z (about 11 years ago)
- Last Synced: 2024-08-01T12:34:46.344Z (3 months ago)
- Language: JavaScript
- Homepage: https://cloudant.com
- Size: 162 KB
- Stars: 15
- Watchers: 7
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - cloudant-labs/SearchApp - SearchApp is a CouchDB application that enables full text search and creates a simple search page for any CouchApp or CouchDB database hosted on Cloudant's hosted CouchDB (https://cloudant.com) (others)
README
# SearchApp
SearchApp is a CouchDB application that enables full text search and creates a simple search page for any CouchApp or CouchDB database hosted on cloudant.com.
## Requirements
cloudant hosted account (sign up at ), couchapp
## Install
cd SearchApp
cat > .couchapprc
{"env":{"default":{"db":"https://<user>:<pass>@<user>.cloudant.com/<db_or_couchapp_you_want_to_search>"}}}
^C*that last line means hit **CTRL-C***
To configure the display of the search results, modify the file:
_attachments/index.html
To configure the indexing of documents, modify the file:
_docs/lucene.json
following the insturctions on . By default, all json values are indexed as text using the Lucene Standard analyzer, and put into a single default field call "all".
The default search.html example works for Twitter data and is based on the style of
couchapp push
Now view your app at
https://.cloudant.com//_design/searchapp/index.html
By default, searches are executed against the field "all".