Add config var to switch off read-only search.