title: Spring Data Rest: Query parameters chained with logical OR
body: <p>I have an entity that is exposed by the following repository:</p>
  
  <pre><code>public interface InsertRepository extends PagingAndSortingRepository&lt;InsertEntity, Long&gt;, QueryDslPredicateExecutor&lt;InsertEntity&gt;, QueryDslBinderCustomizer&lt;QInsertEntity&gt; {
      @Override
      default void customize(QuerydslBindings bindings, QInsertEntity insert) {
          bindings.bind(String.class).all(StringPath path, Collection&lt;? extends String&gt; values) -&gt; {
              BooleanBuilder predicate = new BooleanBuilder();
              values.forEach(value -&gt; predicate.or(path.containsIgnoreCase(value)));
  
              return predicate;
          });
      }
  }
  </code></pre>
  
  <p>What I'd like it to do is that all GET query parameters are chained as logical OR so that a query like <code>?description=searchText&amp;customerName=searchText</code> would execute an SQL query that looks as follows:</p>
  
  <p><code>WHERE description LIKE '%searchText%' OR customerName LIKE '%searchText%'</code></p>
  
  <p>However, I must be doing something wrong because it doesn't work - it is putting all query parameters into an <code>AND</code> query. That results in only those records being selected that contain <code>searchText</code> in customerName <strong>AND</strong> their description.</p>