Similar to SQL I want to be able to search for terms, but instead of matching exact terms I want to be able to match terms that contains certain string say "abc".
Something like SQL's LIKE "%abc%"
At the moment I have the full term matcher like:
AndFilterBuilder andFilter = FilterBuilders.andFilter();
andFilter.add(FilterBuilders.rangeFilter("@timestamp").gt(start).lt(end));
andFilter.add(FilterBuilders.termFilter("@host", "abc"));
Is there a way to do that? Regex may be?