Hi, It's true not 'true' (boolean not string).
B. > On 13 Sep 2023, at 22:54, TDAS <[email protected]> wrote: > > Ok success! > Well, nearly… I’m not getting anything useful back unless I include_docs, > which I don’t want to do… > How can I populate fields here? I’ve tried adding a fields array, and also > using highlight_fields > { > "total_rows": 2, > "bookmark": > "g1AAAABteJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpjc7D9rbnEAiiUy4lGfxwIkGRqA1H-Yto9rXoPEEnmyADx8Hsc", > "rows": [ > { > "id": "bf9143999ed3eedd7cbc7ff3560588eb", > "order": [ > 1.1976816654205322, > 1 > ], > "fields": {} > }, > { > "id": "bf9143999ed3eedd7cbc7ff35601949d", > "order": [ > 1.1047163009643555, > 12 > ], > "fields": {} > } > ] > } > > This is my index: > > function (doc) { > if (doc.type === 'user' && doc.firstname && doc.lastname) { > index('name', doc.firstname + ' ' + doc.lastname, { 'store': 'true' }); > index('firstname', doc.firstname, { 'store': 'true' }); > } > } > > > >> On 13 Sep 2023, at 22:06, TDAS <[email protected]> wrote: >> >> Ok thanks, any tips on installing jdk 8 on Debian bullseye? I can’t find >> anywhere with any suggestions for a version that early, apart from one which >> says I need to sign up with Oracle! this is becoming a much bigger headache >> than I had envisaged >> >>> On 13 Sep 2023, at 21:56, Robert Newson <[email protected]> wrote: >>> >>> There's https://docs.couchdb.org/en/stable/install/search.html >>> >>> You can use up to java 8 but nothing newer. >>> >>> We dropped log4j btw, though clouseau only ever used log4j 1.x which was >>> not affected by the Log4Shell vulnerability. clouseau uses slf4j and you >>> need to choose which adapter you'd like. >>> >>> The next major release of couchdb will include an alternative Lucene >>> indexing system that works with Java 11 through 20 and will include the >>> Java artifacts necessary to run the whole stack. >>> >>> B. >>> >>>> On 13 Sep 2023, at 21:45, TDAS <[email protected]> >>>> wrote: >>>> >>>> Greetings >>>> >>>> I’ve set up an index in a design doc, and I’m trying to use _search after >>>> a long wait I get: >>>> >>>> { >>>> "error": "ou_est_clouseau”, >>>> "reason": "Could not connect to the Clouseau Java service at >>>> [email protected]” >>>> } >>>> >>>> So, I’ve been looking into installing this but am going down a rabbit hole. >>>> >>>> First I need java which I don’t have - I install that, then google tells >>>> me it will only compile with jdk6, which I can’t find. Then I see it uses >>>> log4j and I’m remembering the vulnerability that caused a load of >>>> headaches. >>>> >>>> Any advice? Is there an idiot guide somewhere? >>>> >>>> TIA >>>> >>>> TC >>>> >>>> >>>> >>>> >>> >
