defensive coding for indexer version check
rework docstore search args and internals