public TextSearch filter ( final SearchFilter filter ) { if ( filters == null ) { filters = new HashSet < SearchFilter > ( ) ; } filters . add ( filter ) ; return this ; }
Add a filter to the query using the Fluent API approach .