Print

Print


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