title: Spring Data MongoDB Repositories Query multiple fields
body: <p>Here is my document:</p>
  
  <pre><code>@Document(collection = "posts")
  public class Post {
      @Id
      String id;
      String title;
      String description;
  }
  </code></pre>
  
  <p>I'm trying to query for posts with title or description with a like operator.
  My Repository</p>
  
  <pre><code>public class PostsRepository extends MongoRepository&lt;Post, String&gt; {
      @Query(value = "{ $or: [ { 'title' : ?0 }, { 'description' : ?0 } ] }")
      Page&lt;Post&gt; queryByTitleOrDescription(String query, Pageable pageable);
  }
  </code></pre>
  
  <p>How do i perform this query with LIKE on both fields with an or between them?</p>