{"id":4375,"date":"2016-06-05T23:31:58","date_gmt":"2016-06-05T23:31:58","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=4375"},"modified":"2016-06-05T23:31:58","modified_gmt":"2016-06-05T23:31:58","slug":"select-relevancy-score-solr","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/select-relevancy-score-solr\/","title":{"rendered":"Select relevancy score in Solr"},"content":{"rendered":"<p>If you want to retrieve the &#8220;score&#8221; column from solr (which shows relevancy), you need to add a field list parameter to the URL:<\/p>\n<pre>\nfl=score\n<\/pre>\n<p>If you only add this, you won&#8217;t get any of your columns, so you want to add *, to get the rest of them:<\/p>\n<pre>\nfl=score,*\n<\/pre>\n<p>Alternately, you can list the columns you want manually, which will likely significantly reduce the payload size of your download:<\/p>\n<pre>\nfl=score,score,id,word_count,audio_length\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Retrieving the relevancy score from Solr<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[517],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/4375"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=4375"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/4375\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=4375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=4375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=4375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}