<div dir="ltr">I think it's probably good to treat word + number as (subject =~ "word" and subject =~ "number") or (subject =~ "word" and id = number). However, as mentioned quoting number is workaround in the current versions. </div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 11, 2013 at 12:47 PM, Bart <span dir="ltr"><<a href="mailto:bart@pleh.info" target="_blank">bart@pleh.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>I've reproduced your problem using RT 4.0.8 using the quick search, since I'm assuming this is where your trying this query?</div><div><br></div><div>When you use the quotes it treats the search argument as a string, when you enter just a number it searches for that ticket ID.</div>
<div>So if you want to search for a number (just a number) you use quotes to stop RT from looking for a ticket ID.</div><div><br></div><div>So far the above scenario is kinda what they mention on the search page:</div>
<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Search for tickets by entering <strong>id</strong> numbers, subject words <strong>"in quotes"</strong>, <strong>queues</strong> by name, Owners by <strong>username</strong>, Requestors by <strong>email address</strong>, and ticket <strong>statuses</strong>.<br>
Any word not recognized by RT is searched for in ticket subjects.<br>Entering <strong>initial</strong>, <strong>active</strong>, <strong>inactive</strong>, or <strong>any</strong> limits results to tickets with one of the respective types of statuses. Any individual status name limits results to just the statuses named.<br>
Start the search term with the name of a supported field followed by a colon, as in <strong>queue:"Example Queue"</strong> and <strong><a href="mailto:owner%3Aemail@example.com" target="_blank">owner:email@example.com</a></strong>, to explicitly specify the search type.<br>
CFs may be searched using a similar syntax as above with <strong>cf.Name:value</strong>.<br>For the full power of RT's searches, please visit the <a href="https://rt.bkwi.nl/Search/Build.html" style="color:rgb(102,102,102);text-decoration:none" target="_blank">search builder interface</a>.</blockquote>
</div><div><br></div><div>But in this case, you search for a word + number. I'd personally expect RT to treat that entire phrase as a string, so this might be a bug?</div><div><br></div><div>Though on the other hand, the above text from the search page clearly states that subject words should be "in quotes". Which might mean that this is by design.</div>
<div><br></div><div>Anyways, personally I agree with you and I'd expect a different behaviur in this situaiton.</div><div><br></div><div>But I don't know exactly how this part "should" work, so maybe someone from bestpractical could drop a line on "this is by design" or "this is a bug"?</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div class="gmail_extra">-- <br>Bart G.</div></font></span><div><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/11 Явор Маринов <span dir="ltr"><<a href="mailto:ymarinov@neterra.net" target="_blank">ymarinov@neterra.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Forgot to mension - we are using RT 4.0.10<div><div><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hello,<br>
<br>
Any comments regards this will be much appreciated because this is critical issue for us. Once you search from the search engine (for example vlan 90) nothing is displayed as results. However if you try to search for "vlan 90" correct results are displayed. So far, this is a big issue, because my colleagues from Support department should know the exact phrase of the subject of the ticket or their ID which is quite frustrating. Is there any work around or probably an addon for RT which should enable "this" type of search.<br>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards, Ruslan.
</div>