use match_phrase_prefix instead
This commit is contained in:
parent
073fc6b848
commit
33c1adde3d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue