ignore full: result without highlight
This commit is contained in:
parent
55a73995c8
commit
07016f2cc5
|
@ -877,8 +877,10 @@ function populateMultiSearchResults(allResults, queryType) {
|
||||||
if (allFullText.length > 0) {
|
if (allFullText.length > 0) {
|
||||||
for (let i = 0; i < allFullText.length; i++) {
|
for (let i = 0; i < allFullText.length; i++) {
|
||||||
const fullText = allFullText[i];
|
const fullText = allFullText[i];
|
||||||
const fullTextDiv = createFulltext(fullText);
|
if ("highlight" in fullText) {
|
||||||
fullTextBox.appendChild(fullTextDiv);
|
const fullTextDiv = createFulltext(fullText);
|
||||||
|
fullTextBox.appendChild(fullTextDiv);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (queryType === "simple" || queryType == "full") {
|
if (queryType === "simple" || queryType == "full") {
|
||||||
|
|
Loading…
Reference in New Issue