<p dir="ltr">Values need to be quoted, I believe. Compare these two queries:</p>
<p dir="ltr">Content LIKE <a href="http://foo.com">foo.com</a><br>
Content LIKE '<a href="http://foo.com">foo.com</a>'</p>
<p dir="ltr">I wonder whether wildcards might be necessary, like they seem to be in regular SQL:</p>
<p dir="ltr">Content LIKE '%<a href="http://foo.com">foo.com</a>%'</p>
<div class="gmail_quote">On 09/08/2014 12:36 am, "Jeff Blaine" <<a href="mailto:jblaine@kickflop.net">jblaine@kickflop.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Setup: RT 4.2.5 with PostgreSQL and full-text indexing enabled<br>
and completed for all tickets. Tickets 1, 2, and 3 all have<br>
contents with the string <a href="http://foo.com" target="_blank">foo.com</a><br>
<br>
Searching for 'content LIKE <a href="http://foo.com" target="_blank">foo.com</a>' returns tickets 1, 2, 3<br>
<br>
Searching for 'content NOT LIKE <a href="http://foo.com" target="_blank">foo.com</a>' returns tickets 1, 2, 3<br>
<br>
Has anyone seen this? Any ideas what might be going wrong or how<br>
do start debugging this?<br>
<br>
--<br>
Jeff Blaine<br>
<a href="http://kickflop.net" target="_blank">kickflop.net</a><br>
PGP/GnuPG Key ID: 0x0C8EDD02<br>
--<br>
RT Training - Boston, September 9-10<br>
<a href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br>
</blockquote></div>