Support using indexes for lucene searches on e.g cloudant