allow seaching longer urls (#521)
Co-authored-by: rleed <rleed1@pm.me> Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
This commit is contained in:
parent
c0c691eda5
commit
073fc6b848
|
@ -109,7 +109,7 @@ export default {
|
|||
query = queryArr.filter(word => !exclude.includes(word)).join(' ')
|
||||
|
||||
if (url) {
|
||||
whatArr.push({ wildcard: { url: `*${url.slice(4).toLowerCase()}*` } })
|
||||
whatArr.push({ match_phrase: { url: `${url.slice(4).toLowerCase()}` } })
|
||||
}
|
||||
|
||||
if (nym) {
|
||||
|
|
Loading…
Reference in New Issue