In most cases, full-text searching alone didn't serve our purpose. We had to filter the results based on the document attributes. For example, when searching blog posts, you might want to provide a filter wherein only posts from a certain category are returned. In such scenarios the result filtering methods of the client API comes handy. Let's take a look.