code: public static Query withStrings(String field, String[] values, boolean caseInsensitive) {
          if (caseInsensitive) {
              List<Query> regexList = new ArrayList<Query>();
              for (String value : values) {
                  regexList.add(withString(field, value, true));
              }
              return Query.or(regexList);
          } else {
              return Query.withValues(field, Query.in, Literal.values(values));
          }
      }
docs: <pre>
  { "$or": [{ field: <field>, regex: <^string$>, caseInsensitive: <caseInsensitive>, ... }, ... ]}
  </pre>