case 'I':
nextIsN(reader);
options.add(SearchResultOption.MIN);
break;
default:
throw new DecodingException(HumanReadableText.ILLEGAL_ARGUMENTS, "Unknown search key");
}
break;
// Check for SAVE options which is part of the SEARCHRES extension
case 'S':
nextIsA(reader);
nextIsV(reader);
nextIsE(reader);
options.add(SearchResultOption.SAVE);
break;
default:
throw new DecodingException(HumanReadableText.ILLEGAL_ARGUMENTS, "Unknown search key");
}
reader.nextWordChar();
cap = consumeAndCap(reader);
}
// if the options are empty then we parsed RETURN () which is a shortcut for ALL.