Closed everlose closed 3 years ago
It looks like a query for “DOCUMENT_COUNT ” throw the “Uncaught (in promise)”
By the way, to reproduce this problem, the first QUERY is necessary
Ah yes, nice find, FLUSH()
should clear the cache but is not doing so. This line should look something like this:
FLUSH: c.flush().then(() => ops.fii.STORE.clear())
@everlose try it now with search-index@2.3.0
I'm going to go out on a limb and say that this is fixed 🙂
I have upgrade search-index to version 2.3.0, but the problem is still exist. maybe the problem is in QUERY ? because the QUERY is still return resolved and a unhandle promise rejection.
I have upgrade search-index to version 2.3.0, but the problem is still exist. maybe the problem is in QUERY ? because the QUERY is still return resolved and a unhandle promise rejection.
Oh, sorry FLUSH is ok. but INDEX.STORE.clear is still not work.
Yes, I should have noted this when I closed the issue- INDEX.STORE.clear()
wont actually work, so use FLUSH()
Hi,I found a touble in FLUSH db.
The second query appears to have a cache. and got a uncaught (in promise),try with following code,
then