A Butter Search for Your Blog Posts

Posted by Jake Lumetta on May 11, 2016

Butter Updates

Pun aside, we are excited to launch built-in native search for your blog posts! It's works as you'd expect and is very simple to use:

https://api.buttercms.com/v2/search/?query=<query>

This end point provides text search functionality across all of your content. Our search algorithm is weighted in an intuitive way where keywords in titles are weighted higher than those found in the body, etc. The response is the same format as /posts/ endpoint, where the results are sorted by relevancy.

We've updated our Search API Docs with full details on this new end point. We have also updated our client libraries (Ruby, Node) to make tapping into this new functionality as simple as upgrading to the latest version.

We look forward to seeing what sorts of experiences you build on top of this new search capability!

Make sure you receive the freshest Butter product updates.
    
Jake Lumetta

Jake is the CEO of ButterCMS. He loves whipping up Butter puns and building tools that make developers' lives better.

We're the #1 Rated Headless CMS

Related articles

Don’t miss a single post

Get our latest articles, stay updated!