Questions tagged [couchdb-lucene]

Enables full-text searching of CouchDB documents using Lucene.

Enables full-text searching of CouchDB documents using Lucene.

29 questions
0
votes
1 answer

How can I index nested object using couchdb-lucene

Index function When I try to index sub-property of doc in indexing function, like ret.add(doc.complaint.status, {field: 'status', type: 'string'}) couchdb-lucene returns 500. function (doc) { var ret = new Document(); …
peramor
  • 33
  • 1
  • 4
0
votes
1 answer

Cloudant Search feature in CouchDB Local server

I have a search index like so in Cloudant: "indexes": { "search-cloud": { "analyzer": "standard", "index": "function(doc) { index(\"keyword\", doc.name); }" } } The function is a bit more intense but that is the set up. It…
bryan
  • 8,879
  • 18
  • 83
  • 166
0
votes
1 answer

Can not get couch to recognize _fti

I've got this in my couchdb local.ini. I know it's in ok because I see it in httpd_global_handlers config in futon. _fti = {couch_httpd_proxy, handle_proxy_req, <<"http://127.0.0.1:5985">>} Lucene is running ok. Yet when I try to access _fti through…
Maharjun M
  • 853
  • 4
  • 11
  • 24
0
votes
1 answer

Couchdb-lucene for couchdb with admins and members

I'm trying to use couchdb-lucene with couchdb and I keep getting {"code": 500} errors. I have a couchdb that has an Admin and Member set. The authentication with couchdb is done via Cookie authentication. When I try and use couchdb-lucene, e.g. via…
Kiran
  • 1,708
  • 1
  • 11
  • 14
0
votes
1 answer

Is it necessary to create all combination a separately view in CouchDB

I have the following documents in CouchDB stored: { "_id":"1", "_rev":"1-e3ff3eb51ccf90e0446ef086fcc6a06c", "sub_name":"A01", "type":"Test", "name":"A", "pos":828288 }{ "_id":"2", "_rev":"1-e3ff3eb51ccf90e0446ef086fcc6a06c", …
user977828
  • 7,259
  • 16
  • 66
  • 117
0
votes
1 answer

How to POST queries to couchdb-lucene

I'm using couchdb-lucene and want to submit a query via POST rather than GET which the docs say is supported. However when I submit the request I get a bad_request response. The command I'm using to submit the request: curl -v -X POST -d 'q=form:P'…
Gareth Bowen
  • 949
  • 1
  • 7
  • 12
0
votes
1 answer

Error occurred while writing a data into CouchDB

I am trying to Delete the whole data from the CouchDB and again i am trying to write same data with modified **_id field and some extra field ** but i am getting following error : { 'reason' => 'Document update conflict.', 'error'…
0
votes
2 answers

Autocomplete with couchdb and lucene

I'm using couchdb for storing the data of my app and couchdb-lucene (https://github.com/rnewson/couchdb-lucene) to implement search functionality for this data. The search its ok, i can index couchdb documents into lucene a search for it. The…
AlfredoCasado
  • 818
  • 5
  • 7
0
votes
1 answer

CouchDB doc._local_seq property index through couchdb-lucene

CouchDB 1.6 has added the ability to pass _local_seq (or seq) of the doc to the view if the design-doc has options.local_seq = true. I want to use with couchdb-lucene but I am unable to make it work? Here is the design doc: { "_id":…
Sameer Segal
  • 21,813
  • 7
  • 42
  • 56
0
votes
1 answer

how to implement keyword search in CouchDB

I am new to CouchDB. How to implement keyword search in CouchDB? For example, I have users document in CouchDB. The structure is the following: UsersCouchDB: id: 1 last_name: jack first_name: abc phone_num: 123-456-7890 id: 2 last_name:…
Joey
  • 2,732
  • 11
  • 43
  • 63
0
votes
1 answer

Default conjunction for couchdb-lucene

It appears that the default conjunction for CouchDB-Lucene is OR: artist:muse track:"feeling good" Might return: { "artist": "Muse", "track": "Feeling Good", "score": 5.9 } { "artist": "Nina Simone", "track": "Feeling Good", "score": "1.2" } How…
JP.
  • 5,507
  • 15
  • 59
  • 100
0
votes
1 answer

CouchDB-Lucene get distinct rows from search

I have duplicated rows in my Lucene's index and I whant to retreive only distinct datas with the search. I think that I can't build the index without the duplicated datas because they are not stored in the same CouchDB table (JSON document). But…
0
votes
1 answer

How to set up CouchDB-Lucene on Android

We are enhancing an Android app to have advanced SEARCH features. The app uses Couchbase-mobile (version 2.0.0) as a an Android service... I have these questions with implementation: How simple it is to integrate something like…
fritz
  • 698
  • 6
  • 12
0
votes
1 answer

Formatting couchdb-lucene results with a couchdb list

Situation... I have a simple couchapp that lists out emails that are stored in the couch database, these emails are queried with a simple view and then piped through a list to give me a pretty table that I can click on the emails to view them. That…
Ryan Parrish
  • 387
  • 2
  • 9
1
2