SOLR-10963: Fix example json in MultipleAdditiveTreesModel javadocs. (Stefan Langenmaier via Christine Poerschke)

This commit is contained in:
Christine Poerschke 2017-06-27 13:22:11 +01:00
parent e4d0bb7dc4
commit 9c75c8082d
2 changed files with 11 additions and 8 deletions

View File

@ -464,6 +464,9 @@ Bug Fixes
* SOLR-10824: fix NPE ExactSharedStatsCache, fixing maxdocs skew for terms which are absent at one of shards
when using one of Exact*StatsCache (Mikhail Khludnev)
* SOLR-10963: Fix example json in MultipleAdditiveTreesModel javadocs.
(Stefan Langenmaier via Christine Poerschke)
Optimizations
----------------------
* SOLR-10634: JSON Facet API: When a field/terms facet will retrieve all buckets (i.e. limit:-1)

View File

@ -42,29 +42,29 @@ import org.apache.solr.util.SolrPluginUtils;
"params" : {
"trees" : [
{
"weight" : 1,
"weight" : "1",
"root": {
"feature" : "userTextTitleMatch",
"threshold" : 0.5,
"threshold" : "0.5",
"left" : {
"value" : -100
"value" : "-100"
},
"right" : {
"feature" : "originalScore",
"threshold" : 10.0,
"threshold" : "10.0",
"left" : {
"value" : 50
"value" : "50"
},
"right" : {
"value" : 75
"value" : "75"
}
}
}
},
{
"weight" : 2,
"weight" : "2",
"root" : {
"value" : -10
"value" : "-10"
}
}
]