make algolia query which finds a close enough name or a matching tag

26 Views Asked by At
const search =(nameInput, inputTags)=>{
  index.search('', {
    filters: ''
  }).then(({ hits }) => {
    console.log(hits);
  })
}

im trying to to create a query thats close to : (have a "name_field" close enough to nameInput or match atleast one of the inputTags array elements to "tags_field"

0

There are 0 best solutions below