How come I can't use non-faceted fields to filter ...
# community-help
g
How come I can't use non-faceted fields to filter in the search console? • They don't show up as options in "Facet & Filter By". • if I pass
filter_by=userId:xxx
in "Additional Search Paramters" it does nothing. Using the REST endpoint I have no problems passing the above query param
j
This is an unfortunate side-effect of using Instantsearch.js to power the console. Instantsearch assumes that all filters are set as facets, since that's how Algolia works.
So it always excepts facet counts to show up in the response when filtering
g
gotcha, that explains the first bullet. Any idea why the query param doesn't work when I provide it explictly?
j
Ah missed that and good to know. This is another side-effect of instantsearch - because the filter parameters are handled by Instantsearch internally and overridden... But I wonder if there's a way we can work-around this in the adapter. Let me research this more