* @param objType The object type to possibly use for index gen
* @return The resulting Keys (if any)
*/
private Object queryIndexes(Transaction tx, NamedKeys nk, IndexQuery iq) {
try {
IndexPattern pattern = iq.getPattern();
if ( pattern.isInvalid() )
return null;
Indexer idx = context.getIndexManager().getBestIndexer(Indexer.STYLE_NODEVALUE, pattern);
if ( idx != null ) {
IndexMatch[] matches = idx.queryMatches(tx, iq);