Term Filter

edit

See Term Filter

FilterBuilders.termFilter("user", "kimchy");

Note that you can ask not to cache the result using TermFilterBuilder#cache(boolean) method. See Caching.