Update polaris search to use Boolean path, add basic sort support.