title: Azure Search filter for "like" or "contains"
body: <p>What is the correct filter syntax for doing a like or contains?</p>
  <p>I would like to pull all fileNames that contain &quot;test&quot; in the file name.</p>
  <p>I've tried this in the search explorer, but it didn't work</p>
  <pre><code>$filter=search.in(fileName, 'test')
  </code></pre>
  <p>or</p>
  <pre><code>$filter=search.ismatch('test')
  </code></pre>
  <p>I also need to do this via the C# Azure Search:</p>
  <pre><code>            SearchOptions options = new SearchOptions()
              {
                  Filter = string.Format(&quot;{0} ne '{1}'&quot;, FileManagerMetadataContants.IsFileDeleted, FileManagerMetadataContants.IsFileDeletedValue),
                  SearchMode = SearchMode.Any,
                  IncludeTotalCount = true,
              };
  </code></pre>
  <p><a href="https://i.stack.imgur.com/Hy8AI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hy8AI.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/tu4Ll.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tu4Ll.png" alt="enter image description here" /></a></p>
  <p>Here are the versions I'm on:</p>
  <pre><code>  &lt;package id=&quot;Azure.Search.Documents&quot; version=&quot;11.1.1&quot; targetFramework=&quot;net461&quot; /&gt;
    &lt;package id=&quot;Azure.Storage.Blobs&quot; version=&quot;12.4.4&quot; targetFramework=&quot;net461&quot; /&gt;
  </code></pre>