}
public static BaseFilterBuilder idFilter(String key, String val) {
int index = key.indexOf(ElasticTweetSearch._ID);
String type = key.substring(index + ElasticTweetSearch._ID.length());
BaseFilterBuilder fb;
if (val.contains(" OR "))
fb = FilterBuilders.idsFilter(type).ids(val.split(" OR "));
else
fb = FilterBuilders.idsFilter(type).ids(val);