How can i filter the hits based on category in algolia instant search

How can i filter the hits based on category. like only shop or coffee.

This is my query. But not working.

  searcher.setQuery(new Query().setGetRankingInfo(true).setAroundLatLng(new AbstractQuery.LatLng(12.670913552202967, 78.6066235229373)).setAroundRadius(1000));