I added about 2500 records (documents) in an engine and later decided to delete all of them. Since deleting the engine won't delete the documents, I decided loop over each document and delete them using IDs.
Turns out that deleting each document is painfully slow - taking about ~2 seconds for each. I also tried feeding array of 100 Ids to delete; but it still takes about the same time.
Is this the expected behavior? Is there any way to speed this up?
PS: Also want to know if the self-hosted app-search is limited to indexing 100,000 documents?
No, there is no limit like that. I just did a bit testing and noticed the document count shown in the dashboard can get out of sync but once a new document is added or removed this count should be fixed.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.