{"id":291,"date":"2026-03-16T00:00:00","date_gmt":"2026-03-16T00:00:00","guid":{"rendered":"https:\/\/wordpress.securinsight.ca\/index.php\/2026\/03\/16\/vectorize-return-up-to-50-query-results-with-values-or-metadata\/"},"modified":"2026-03-16T00:00:00","modified_gmt":"2026-03-16T00:00:00","slug":"vectorize-return-up-to-50-query-results-with-values-or-metadata","status":"publish","type":"post","link":"https:\/\/wordpress.securinsight.ca\/index.php\/2026\/03\/16\/vectorize-return-up-to-50-query-results-with-values-or-metadata\/","title":{"rendered":"Vectorize &#8211; Return up to 50 query results with values or metadata"},"content":{"rendered":"<p>You can now set <code>topK<\/code> up to <code>50<\/code> when a Vectorize query returns values or full metadata. This raises the previous limit of <code>20<\/code> for queries that use <code>returnValues: true<\/code> or <code>returnMetadata: \"all\"<\/code>.<\/p>\n<p>Use the higher limit when you need more matches in a single query response without dropping values or metadata. Refer to the <a href=\"https:\/\/developers.cloudflare.com\/vectorize\/reference\/client-api\/\">Vectorize API reference<\/a> for query options and current <code>topK<\/code> limits.<\/p>","protected":false},"excerpt":{"rendered":"<p>You can now set topK up to 50 when a Vectorize query returns values or full metadata. This raises the previous limit of 20 for queries that use returnValues: true or returnMetadata: &#8220;all&#8221;. Use the higher limit when you need more matches in a single query response without dropping values or metadata. Refer to the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-291","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/posts\/291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/comments?post=291"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/posts\/291\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/media?parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/categories?post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/tags?post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}