Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month 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)

Awesome Lists containing this project

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".