close

open override fun close()

Close this to future searching; any searches still in process in other threads won't be affected, and they should still call release after they are done.

NOTE: you must ensure no other threads are calling [record] while you call close(); otherwise it's possible not all searcher references will be freed.