Adding filters to indexed data with firebase


I am indexing jobs, how to filter by category?

  "description": "Busco plomero para destapar regadera",
  "name": "Busco plomero",
  "location": 3,
  "budget": "340000",
  "category": 17,
  "type": 1,
  "objectID": "-KwqbXohaN8rvoeY6Q2u"

Hey Diego,

What would be ideal is the following scenario:

  1. change the category value to the actual name of the category
  2. add category to attributesForFaceting
  3. search with filters: 'category:your-value' (or a refinement list if you’re using instantsearch)

Does that help you?