CS fixes
Added flag if database supports search relevance (#747)