{"id":237,"date":"2014-03-28T10:06:27","date_gmt":"2014-03-28T09:06:27","guid":{"rendered":"http:\/\/www.francelabs.com\/blog\/?p=237"},"modified":"2014-04-09T08:01:30","modified_gmt":"2014-04-09T07:01:30","slug":"binary-version-of-solrmeter-for-solr-4","status":"publish","type":"post","link":"https:\/\/www.francelabs.com\/blog\/binary-version-of-solrmeter-for-solr-4\/","title":{"rendered":"Binary version of SolrMeter for Solr 4"},"content":{"rendered":"<p>NOTE: English version on top, French version below.<\/p>\n<p>We have noticed that in Solr 4, there is problem with the UI related to cache hit ratio evaluation of SolrMeter. Digging a bit, the problem is due to a type change between Solr 3 and Solr 4. SolrMeter expects a string, whereas Solr4 sends back a float. More precisely, Solr 4 does that within its request handler mbean, in the cache sub category.<\/p>\n<p>We&#8217;re now using a patch available for this bug, created by Javier Mendez, <a title=\"Patch of SolrMeter for Solr 4 by Javier Mendez\" href=\"https:\/\/groups.google.com\/forum\/#!msg\/solrmeter\/yJc0I4bnclw\/ln16vn8VYeUJ\" target=\"_blank\">see his contribution on this google group<\/a>.<\/p>\n<p>Still, there is no binary version of SolrMeter, hence this blog.<!--more--><\/p>\n<p>We wanted to share with you a binary version, so as to ease your work. This jar can be started the same way the standard SolrMeter does, see https:\/\/code.google.com\/p\/solrmeter\/wiki\/Usage<\/p>\n<p>We tested it for Solr 4.6 and Solr 4.7<\/p>\n<p>You can download here the <a title=\"Binary of SolrMeter for Solr4\" href=\"http:\/\/www.francelabs.com\/files\/solrmeter-0.3.1-SNAPSHOT-jar-with-dependencies_patch_cache.jar\" target=\"_blank\">binary of SolrMeter for Solr4<\/a>.<\/p>\n<p>***************************<\/p>\n<p>Version fran\u00e7aise:<\/p>\n<p>Nous avons remarqu\u00e9 que dans Solr 4, il y avait un probl\u00e8me avec la UI des caches hit ratio de SolrMeter. En creusant, l&#8217;erreur vient de l&#8217;attente par SolrMeter d&#8217;un string, alors que Solr4 renvoie un float, au sein de son mbean request handler, dans la sous cat\u00e9gorie cache.<\/p>\n<p>Nous nous sommes servi d&#8217;un patch disponible qui r\u00e9sout ce bug, cr\u00e9\u00e9 par Javier Mendez, voir <a title=\"Patch of SolrMeter for Solr 4 by Javier Mendez\" href=\"https:\/\/groups.google.com\/forum\/#!msg\/solrmeter\/yJc0I4bnclw\/ln16vn8VYeUJ\" target=\"_blank\">sa contrib sur ce google group<\/a>.<\/p>\n<p>Cependant, il n&#8217;y avait pas de version binaire du jar de SolrMeter, d&#8217;o\u00f9 ce blog, afin de vous mettre une version build\u00e9e \u00e0 disposition. Ce jar se lance comme le SolrMeter fournit de base, voir ce lien: https:\/\/code.google.com\/p\/solrmeter\/wiki\/Usage.<\/p>\n<p>Nous l&#8217;avons test\u00e9 pour Solr 4.6 et Solr 4.7<\/p>\n<p>T\u00e9l\u00e9chargez ici le <a title=\"Binary of SolrMeter for Solr4\" href=\"http:\/\/www.francelabs.com\/files\/solrmeter-0.3.1-SNAPSHOT-jar-with-dependencies_patch_cache.jar\" target=\"_blank\">SolrMeter pour Solr4<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NOTE: English version on top, French version below. We have noticed that in Solr 4, there is problem with the UI related to cache hit ratio evaluation of SolrMeter. Digging a bit, the problem is due to a type change &hellip; <a href=\"https:\/\/www.francelabs.com\/blog\/binary-version-of-solrmeter-for-solr-4\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,12],"tags":[36],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-search","category-solr","tag-solrmeter"],"_links":{"self":[{"href":"https:\/\/www.francelabs.com\/blog\/wp-json\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.francelabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.francelabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.francelabs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.francelabs.com\/blog\/wp-json\/wp\/v2\/comments?post=237"}],"version-history":[{"count":2,"href":"https:\/\/www.francelabs.com\/blog\/wp-json\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":240,"href":"https:\/\/www.francelabs.com\/blog\/wp-json\/wp\/v2\/posts\/237\/revisions\/240"}],"wp:attachment":[{"href":"https:\/\/www.francelabs.com\/blog\/wp-json\/wp\/v2\/media?parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.francelabs.com\/blog\/wp-json\/wp\/v2\/categories?post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.francelabs.com\/blog\/wp-json\/wp\/v2\/tags?post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}