use match_phrase_prefix instead

This commit is contained in:
keyan 2023-10-02 19:56:54 -05:00
parent 073fc6b848
commit 33c1adde3d
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ export default {
query = queryArr.filter(word => !exclude.includes(word)).join(' ')
if (url) {
whatArr.push({ match_phrase: { url: `${url.slice(4).toLowerCase()}` } })
whatArr.push({ match_phrase_prefix: { url: `${url.slice(4).toLowerCase()}` } })
}
if (nym) {