Filter for deduplicating Solr terms regardless of position