returning matching doc ids in search()
Merge branch 'hotfix/0.0.7'