solr update json, boost for record

From: Nicolas Franck <Nicolas.Franck_at_nyob>
Date: Tue, 8 Oct 2013 09:16:34 +0200
To: CODE4LIB_at_LISTSERV.ND.EDU
Hi there,

Does someone know if there are other methods in the UpdateJSON API of Solr
to add boosts to your record (as a whole)?

The wiki-page shows some examples on how to add boosts to both
fields and the record as a whole. But the boost for the record is not
the kind of JSON a normal JSON-writer can produce (I'm using JSON from perl):

{
  "add": {
    "boost":2.0
    "doc": {}
  },
  "add": {
    "boost":2.0
    "doc": {}
  }
}

Any idea's?

Thanks in advance!

greetings,

Nicolas Franck
Received on Tue Oct 08 2013 - 03:17:02 EDT