Concurrent document removals
See original GitHub issueI am testing following scenario: 1- Add concurrently 10 documents 2- Check they are searchable 3- Remove them 4- Check they are not searchable anymore
I am having issues with step 4, where I get the following error:
Uncaught TypeError: Cannot read property 'test' of undefined
at node_modules\search-index-searcher\lib\ScoreTopScoringDocsTFIDF.js:34:55
at Array.forEach (native)
at node_modules\search-index-searcher\lib\ScoreTopScoringDocsTFIDF.js:33:41
at dispatchError (node_modules\levelup\lib\util.js:25:35)
at node_modules\levelup\lib\levelup.js:228:14
Do you know what could be the problem? I get no errors when I add 1 or 2 documents.
Thanks in advance for your help!
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Compile-time concurrent marking write barrier removal
Abstract: Garbage collectors incorporating concurrent marking to cope with large live data sets and stringent pause time constraints have become common in ...
Read more >ConcurrentHashMap (Java Platform SE 8 ) - Oracle Help Center
A hash table supporting full concurrency of retrievals and high expected concurrency for updates. This class obeys the same functional specification as ...
Read more >Filing Form I-765 with Other Forms - USCIS
Form I‑765 Eligibility Categories Category Description I‑765 may be concurre...
(a)(3) Admitted as a refugee No
(a)(4) Paroled as a refugee No
(a)(5) Granted asylum under...
Read more >Concurrent Filing of I-140 Petition and I-485 Application
Yes. If you are in removal proceedings either before an immigration judge or the Board of Immigration Appeals, and are filing an I-140...
Read more >MA46208 - OSP-UNPRED CONCURRENT DISK REMOVAL FROM ...
OSP-UNPRED CONCURRENT DISK REMOVAL FROM ASP1 STUCK ON "REMOVING" ... By furnishing this document, IBM grants no licenses to any related patents or ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure! Here it is.
You’ll need to install mocha, should and fs-extra along latest search index iteration using yarn/npm in order to make it run.
I can’t replicate the other issue. The test seems to work when you concurrently index, delete and (try to) search 1000 documents.
Is there something I am missing?