title: At least 2 parameter(s) provided but only 1 parameter(s) present in query
body: <p>I want to implement search implementation with filter using search framework:</p>
  
  <pre><code>@GetMapping("find")
      public Page&lt;MerchantUserDTO&gt; getAllBySpecification(
              @And({
                  @Spec(path = "name", spec = LikeIgnoreCase.class),
                  @Spec(path = "login", spec = LikeIgnoreCase.class),
                  @Spec(path = "email", spec = LikeIgnoreCase.class),
          }) Specification&lt;Users&gt; specification,
              @SortDefault(sort = "login", direction = Sort.Direction.DESC) Pageable pageable
      ) {        
          return merchantUserService.getAllBySpecification(specification, pageable)
                  .map(g -&gt; MerchantUserDTO.builder()                   
                          .id(g.getId())
                          .login(g.getLogin())                        
                          .build()
                  );
      }
  
  @Override
      public Page&lt;Users&gt; getAllBySpecification(Specification&lt;Users&gt; specification, Pageable pageable) {
          return dao.findAllByTypeIn(specification, pageable, "MerchantUser");
      }
  </code></pre>
  
  <p>Repository:</p>
  
  <pre><code>@Repository
  public interface MerchantUserRepository extends JpaRepository&lt;Users, Integer&gt;, JpaSpecificationExecutor&lt;Users&gt; {
  
      Page&lt;Users&gt; findAllByTypeIn(Pageable page, String... types);
  
      Page&lt;Users&gt; findAllByTypeIn(Specification&lt;Users&gt; specification, Pageable pageable, String... types);
  }
  </code></pre>
  
  <p>But I get exception:</p>
  
  <pre><code>Caused by: java.lang.IllegalArgumentException: At least 2 parameter(s) provided but only 1 parameter(s) present in query.
  </code></pre>
  
  <p>Do you know how I can fix this issue when I have a defined specification?</p>