diff --git a/pywb/warcserver/index/indexsource.py b/pywb/warcserver/index/indexsource.py index 2bfea26b..8305f3cc 100644 --- a/pywb/warcserver/index/indexsource.py +++ b/pywb/warcserver/index/indexsource.py @@ -235,9 +235,9 @@ class XmlQueryIndexSource(BaseIndexSource): matchType = params.get('matchType', 'exact') if matchType == 'exact': - query_url = self.query_api_url + '?q=' + quote_plus('type:urlquery+url:' + quote_plus(url)) + query_url = self.query_api_url + '?q=' + quote_plus('type:urlquery url:' + quote_plus(url)) elif matchType == 'prefix': - query_url = self.query_api_url + '?q=' + quote_plus('type:prefixquery+url:' + quote_plus(url)) + query_url = self.query_api_url + '?q=' + quote_plus('type:prefixquery url:' + quote_plus(url)) else: raise BadRequestException('matchType={0} is not supported'.format(matchType=matchType))