add query method without a specific key

Add a new query method to the index that takes a single argument: the Lucene query