title: azuresearch search.ismatch is ignoring "1" at the end
body: <p>I have following records -</p>
  
  <p>{</p>
  
  <pre><code>"RoleDetails": "0AC05D80-B1E2-4E13-B1E7-602F6C272117 Â pqr Â 1",
  
   "GroupDetails": "0AC05D80-B1E2-4E13-B1E7-602F6C272117 Â Abc Xyz Â 1",
  </code></pre>
  
  <p>},</p>
  
  <p>{</p>
  
  <pre><code> "RoleDetails": "0AC05D80-B1E2-4E13-B1E7-602F6C272117 Â pqr Â 1",
  
   "GroupDetails": "0AC05D80-B1E2-4E13-B1E7-602F6C272117 Â Abc Xyz 1 Â 1",
  </code></pre>
  
  <p>},</p>
  
  <p>{</p>
  
  <pre><code>"RoleDetails": "0AC05D80-B1E2-4E13-B1E7-602F6C272117 Â pqr Â 1",
  
  "GroupDetails": "0AC05D80-B1E2-4E13-B1E7-602F6C272117 Â Abc Xyz 2 Â 1",
  </code></pre>
  
  <p>},</p>
  
  <p>{</p>
  
  <pre><code>"RoleDetails": "0AC05D80-B1E2-4E13-B1E7-602F6C272117 Â pqr Â 1",
  
  "GroupDetails": "0AC05D80-B1E2-4E13-B1E7-602F6C272117 Â Abc Xyz 1 New Â 1",
  </code></pre>
  
  <p>}</p>
  
  <p>1) </p>
  
  <p>When I am using following filter -</p>
  
  <blockquote>
    <p>&amp;$filter=search.ismatch('<strong>Abc Xyz 1</strong>','GroupDetails','simple', 'all')</p>
  </blockquote>
  
  <p>Returned = all records</p>
  
  <p>Expecting = just two rows ("<strong>Abc Xyz 1</strong>" and "<strong>Abc Xyz 1 new</strong>")</p>
  
  <p>2)</p>
  
  <p>When I am using following filter -</p>
  
  <blockquote>
    <p>&amp;$filter=search.ismatch('<strong>Abc Xyz 2</strong>','GroupDetails','simple', 'all')</p>
  </blockquote>
  
  <p>Returned = returning matched record i.e. one row ("<strong>Abc Xyz 2</strong>") which is expected</p>
  
  <p>3)</p>
  
  <p>But when using this filter - </p>
  
  <blockquote>
    <p>&amp;$filter=search.ismatch('<strong>Abc Xyz 1 new</strong>','GroupDetails','simple',
    'all')</p>
  </blockquote>
  
  <p>Returned = returning matched record i.e. one row ("<strong>Abc Xyz 1 new</strong>")  which is expected</p>
  
  <p>So why it is returning all records when searched "<strong>Abc Xyz 1</strong>" ?</p>
  
  <p>Also note: I tried "simple" and "full" querytype</p>
  
  <p><strong>SOLUTION</strong>
  As per answer provided by Matthew Gotteiner, I modified the query like this -</p>
  
  <blockquote>
    <p>&amp;$filter=search.ismatch('<strong>"Abc Xyz 1"</strong>','GroupDetails','simple',
    'all')</p>
  </blockquote>
  
  <p>and it worked!</p>