@imedx/ics-imedx-chromely-plugin-index-examine
Advanced tools
Comparing version 0.0.1-beta.10 to 0.0.1-beta.11
@@ -205,8 +205,8 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk'; | ||
// (name:*安* OR spellCode:*安* OR strokeCode:*安*) AND pid:34* AND rank:[1 TO 3] | ||
var condition = category !== null && category !== void 0 ? category : " AND pid:" + category + " "; | ||
var condition = category !== null && category !== void 0 ? category : " AND pid:" + category; | ||
if (rank === 5) { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition; | ||
return "(name:\"*" + keys + "*\" OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition; | ||
} | ||
else { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition + "AND rank:[1 TO " + rank + "]"; | ||
return "(name:\"*" + keys + "*\" OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition + " AND rank:[1 TO " + rank + "]"; | ||
} | ||
@@ -213,0 +213,0 @@ }; |
@@ -211,8 +211,8 @@ (function (global, factory) { | ||
// (name:*安* OR spellCode:*安* OR strokeCode:*安*) AND pid:34* AND rank:[1 TO 3] | ||
var condition = category !== null && category !== void 0 ? category : " AND pid:" + category + " "; | ||
var condition = category !== null && category !== void 0 ? category : " AND pid:" + category; | ||
if (rank === 5) { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition; | ||
return "(name:\"*" + keys + "*\" OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition; | ||
} | ||
else { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition + "AND rank:[1 TO " + rank + "]"; | ||
return "(name:\"*" + keys + "*\" OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition + " AND rank:[1 TO " + rank + "]"; | ||
} | ||
@@ -219,0 +219,0 @@ }; |
@@ -53,8 +53,8 @@ "use strict"; | ||
// (name:*安* OR spellCode:*安* OR strokeCode:*安*) AND pid:34* AND rank:[1 TO 3] | ||
var condition = category !== null && category !== void 0 ? category : " AND pid:" + category + " "; | ||
var condition = category !== null && category !== void 0 ? category : " AND pid:" + category; | ||
if (rank === 5) { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition; | ||
return "(name:\"*" + keys + "*\" OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition; | ||
} | ||
else { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition + "AND rank:[1 TO " + rank + "]"; | ||
return "(name:\"*" + keys + "*\" OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition + " AND rank:[1 TO " + rank + "]"; | ||
} | ||
@@ -61,0 +61,0 @@ }; |
{ | ||
"name": "@imedx/ics-imedx-chromely-plugin-index-examine", | ||
"version": "0.0.1-beta.10", | ||
"version": "0.0.1-beta.11", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
63369