title: Cloudant: How to perform wildcard searches on text fields
body: <p>I have a db in cloudant that looks like this</p>
  
  <pre><code>count word
  
  4     a         
  1     a boy
  1     a boy goes
  </code></pre>
  
  <p>i want to run a query like this</p>
  
  <p><code>word: *boy*</code></p>
  
  <p>how do i do this in cloudant? i tried the following but it did not work</p>
  
  <pre><code>{
    "selector": {
      "word": "*boy*"
    },
    "fields": [
  
    ],
    "sort": [
      {
        "_id": "asc"
      }
    ]
  }
  </code></pre>