replace find view with _all_docs call