索引调整

This commit is contained in:
tangly1024
2022-04-13 14:46:37 +08:00
parent e6ff725500
commit d6eca572c9

View File

@@ -120,7 +120,7 @@ async function filterByMemCache(allPosts, keyword) {
indexContent = appendText(indexContent, properties, 'caption') indexContent = appendText(indexContent, properties, 'caption')
}) })
} }
console.log('全文搜索缓存', cacheKey, page) console.log('全文搜索缓存', cacheKey, page != null)
post.results = [] post.results = []
let hitCount = 0 let hitCount = 0
for (const i in indexContent) { for (const i in indexContent) {