@Test(expected = IllegalArgumentException.class) public void fieldValuesMustFollowBlursFamilyColumnFormat() { SolrQuery p = new SolrQuery(); p.setFields("foo"); BlurQuery query = BlurQueryHelper.from(p); }
public static BlurQuery from(SolrParams p) { BlurQuery blurQuery = new BlurQuery(); Query query = new Query(); query.setRowQuery(false); maybeAddSelector(blurQuery, p); query.setQuery(p.get(CommonParams.Q)); blurQuery.setQuery(query); return blurQuery; }
BlurQueryHelper { public static BlurQuery from(SolrParams p) { BlurQuery blurQuery = new BlurQuery(); Query query = new Query(); query.setRowQuery(false); maybeAddSelector(blurQuery, p); query.setQuery(p.get(CommonParams.Q)); blurQuery.setQuery(query); return blurQuery; } }
BlurQueryHelper { public static BlurQuery from(SolrParams p) { BlurQuery blurQuery = new BlurQuery(); Query query = new Query(); query.setRowQuery(false); maybeAddSelector(blurQuery, p); query.setQuery(p.get(CommonParams.Q)); blurQuery.setQuery(query); return blurQuery; }  }
BlurQueryHelper { public static BlurQuery from(SolrParams p) { BlurQuery blurQuery = new BlurQuery(); Query query = new Query(); query.setRowQuery(false); maybeAddSelector(blurQuery, p); query.setQuery(p.get(CommonParams.Q)); blurQuery.setQuery(query); return blurQuery; }  static BlurQuery from(SolrParams p); }
BlurQueryHelper { public static BlurQuery from(SolrParams p) { BlurQuery blurQuery = new BlurQuery(); Query query = new Query(); query.setRowQuery(false); maybeAddSelector(blurQuery, p); query.setQuery(p.get(CommonParams.Q)); blurQuery.setQuery(query); return blurQuery; }  static BlurQuery from(SolrParams p);  }