Your script above inserts only 4 documents, but se...
# community-help
k
Your script above inserts only 4 documents, but search shoes six documents. It's really difficult to help unless you share a proper reproducible example that you have verified once.