提交 dc547314 编写于 作者: R Rob Lourens

Update remote search query fields for new API

上级 32d834b0
......@@ -185,9 +185,9 @@ function getSettingsFromBing(filter: string, endpoint: IEndpointDetails): TPromi
return TPromise.as(p as any);
}
const API_VERSION = 'api-version=2015-02-28-Preview';
const API_VERSION = 'api-version=2016-09-01-Preview';
const QUERY_TYPE = 'querytype=full';
const SCORING_PROFILE = 'scoringProfile=ranking1';
const SCORING_PROFILE = 'scoringProfile=ranking';
function escapeSpecialChars(query: string): string {
return query.replace(/\./g, ' ')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册