mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
try again, cypress blackbox
This commit is contained in:
parent
45e806defd
commit
de6053dfa3
@ -10,9 +10,9 @@ export default {
|
||||
.replace(/\s+/g, ' ')
|
||||
.replace(/[[@#:*~\\$|^\]?/"'(){}+?!,.-]/g, '')
|
||||
.split(' ')
|
||||
.map(s => '"' + s + '"*')
|
||||
.map(s => s.toLowerCase().match(/^(not|and|or)$/)? '"' + s + '"' : s + '*')
|
||||
.join(' ')
|
||||
// console.log(myQuery)
|
||||
//console.log(myQuery)
|
||||
const postCypher = `
|
||||
CALL db.index.fulltext.queryNodes('post_fulltext_search', $query)
|
||||
YIELD node as resource, score
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user