Narvar interview question

How solr faceting works?