couchbaselabs / intrapop

1 stars 1 forks source link

sometimes user wants to keep the facet/filters on a new search #10

Open steveyen opened 9 years ago

steveyen commented 9 years ago

James had the reverse user experience of Marty, where James did a search, then refined the results. Then he typed some more additional keywords into the search box, and then was confused that intrapop removed his facet drilldown settings.

mschoch commented 9 years ago

So I played around with Amazon to see how they do it. It seems like they keep the facet filters, even if you type in a completely new query. I tested searching for "golang" adding a filter on "Computers & Technology". Oddly, no matter what I seem to search for, it still finds some results (unless its something completely misspelled). But, in all cases the filter is retained. Even when its an obvious misspelling, and there are no results, it keeps the filter, but makes it clear that the filter is in place.

That might have been the problem with our approach. We use the checkbox on the facet to indicate to the user which filters are in place. With no results, the facet count for the selected box is 0, so theres nothing to show.

Perhaps the simplest improvement is to go back to the old behavior, keep the filters in place, but change the template used when there are no results to show the users the filters in place, and give them an "X" button to clear that filter.