Issue #2195907 by jhodgdon: Search ranking for number of views fails in PostgreSQL.