apache / nano

Nano is now part of Apache CouchDB. Repo moved to https://GitHub.com/apache/couchdb-nano
https://github.com/apache/couchdb-nano
Other
1.13k stars 157 forks source link

Add support for couchdb-lucene search #272

Open homerjam opened 9 years ago

homerjam commented 9 years ago

Hi,

Let me know your thoughts on this, I'd gladly add an example to the docs if you think its ok.

Thanks

James

homerjam commented 9 years ago

In case this is useful for writing tests an example couchdb-lucene response:

{
    "limit": 200,
    "etag": "13d4f1037c4eb250",
    "fetch_duration": 0,
    "q": "title:wassup",
    "search_duration": 0,
    "total_rows": 1,
    "sort_order": [{
        "field": "score",
        "reverse": true,
        "type": "string"
    }],
    "skip": 0,
    "rows": [{
        "id": "DOC_ID",
        "sort_order": [
            null
        ],
        "doc": {
            "_id": "DOC_ID",
            "_rev": "1-fb299c5a16926f024887d6d4e1d57cfb",
            "title": "wassup"
        }
    }]
}
homerjam commented 9 years ago

Were there any thoughts on this?

homerjam commented 9 years ago

Sorry to hassle, but is there any feedback?

carlosduclos commented 7 years ago

Hi, The NanoJS repository has been merged into apache/couchdb-nano. Could you close this pull request and open it there instead? Thanks in advance