<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What is query builder in Vault Forum</title>
    <link>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7832370#M29425</link>
    <description>&lt;P&gt;Ok, I see how to save it, thanks for that, but how do I search for 3 fields using OR?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Field1="myname" OR field2= "myname" OR field3 = "myname") AND (state=NOT "approved)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the multiple properties search doesn't' really work, because it shows EVERY file I've ever authored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get that I can use OR inside a field, but I need to search for any of 3 and only 3 fields having the desired string.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Mar 2018 20:11:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-06T20:11:02Z</dc:date>
    <item>
      <title>What is query builder</title>
      <link>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7819968#M29423</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;snip&amp;gt; long rant about not being able to find query builder; it's NOT part of the search window, it's a dropdown next to the search on the vault interface window&amp;lt;/snip&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'd like to accomplish is to search for my name, in "field1" OR "field2" OR "field3" AND state is NOT "approved"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's a simple query, but it seems very hard to make vault go looking in a way that I can save as a folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to make a saved search from the query builder?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 16:20:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7819968#M29423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-01T16:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: What is query builder</title>
      <link>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7820383#M29424</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create your search, test it out and make sure it's what you want.&amp;nbsp; Then got to File\Save Search or Save Search As.&amp;nbsp; One of the options is to save is as a folder, which will put it under you saved search folders for later use.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 18:14:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7820383#M29424</guid>
      <dc:creator>cbenner</dc:creator>
      <dc:date>2018-03-01T18:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is query builder</title>
      <link>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7832370#M29425</link>
      <description>&lt;P&gt;Ok, I see how to save it, thanks for that, but how do I search for 3 fields using OR?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Field1="myname" OR field2= "myname" OR field3 = "myname") AND (state=NOT "approved)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the multiple properties search doesn't' really work, because it shows EVERY file I've ever authored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get that I can use OR inside a field, but I need to search for any of 3 and only 3 fields having the desired string.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 20:11:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7832370#M29425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-06T20:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is query builder</title>
      <link>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7833029#M29426</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, the query builder uses "AND". However, you may use the following method to filter further&amp;nbsp;using OR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChangeANDtoOr.png" style="width: 573px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/471790iCA5732BB7EECF856/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChangeANDtoOr.png" alt="ChangeANDtoOr.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Madhan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0174DF"&gt;If my post answers your question, please click the &lt;STRONG&gt;"Accept as Solution"&lt;/STRONG&gt; button. This helps everyone find answers more quickly!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 01:18:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7833029#M29426</guid>
      <dc:creator>Madhan_T</dc:creator>
      <dc:date>2018-03-07T01:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: What is query builder</title>
      <link>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7834536#M29427</link>
      <description>&lt;P&gt;I accepted your solution, because it answers the question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would say to Autodesk though, this is not a *GOOD* solution - it's awkward and needs to be set up uniquely every time.&amp;nbsp; We need to be able to save searches with more complex queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The vault is built on SQL, right?&amp;nbsp; Let us build SQL queries, please.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 13:55:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7834536#M29427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-07T13:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: What is query builder</title>
      <link>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7845298#M29428</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;Thank you for accepting&amp;nbsp;it as a solution.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;We use Lucene interface that tokenizes the value and keeps the corresponding records of Indexed&amp;nbsp;Id from SQL Table. Whenever the user requests&amp;nbsp;to find a string, the query indeed constructs (SearchRule&amp;nbsp;is 'Must' instead of 'May') and sends to Lucene and it retrieves the data from SQL. In this way, it is much faster for all the users.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;The conditions are built like the following.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;lt;conditions&amp;gt;&lt;BR /&gt;&amp;lt;SrchCond PropDefId="12" SrchOper="9" SrchTxt="40000" PropTyp="SingleProperty" SrchRule="Must" /&amp;gt;&lt;BR /&gt;&amp;lt;SrchCond PropDefId="9" SrchOper="1" SrchTxt="Second" PropTyp="SingleProperty" SrchRule="Must" /&amp;gt;&lt;BR /&gt;&amp;lt;SrchCond PropDefId="18" SrchOper="10" SrchTxt="1" PropTyp="SingleProperty" SrchRule="Must" /&amp;gt;&lt;BR /&gt;&amp;lt;/conditions&amp;gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;I just wanted to&amp;nbsp;clarify the reason for the queries being AND (Must) instead of OR (May) are&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;1. Performance&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;2. Performance&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;3. 1&amp;amp; 2&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;Yes. Believe me; If we use "OR" it is going to pull more data from SQL&amp;nbsp;and other users have to wait until the results are returned.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;Those were from the development perspective, I am open to your further questions to know more about the practical usage of OR in your workflow. Based on your feedback, I will bring it back to the core team to evaluate&amp;nbsp;the requirements and consider it for future. You may also wish to log a request in Ideastation and get votes from peer users.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;Madhan&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 09:40:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7845298#M29428</guid>
      <dc:creator>Madhan_T</dc:creator>
      <dc:date>2018-03-12T09:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: What is query builder</title>
      <link>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7847261#M29429</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/vault-ideas/use-boolean-expressions-in-searches/idi-p/3551524" target="_blank"&gt;https://forums.autodesk.com/t5/vault-ideas/use-boolean-expressions-in-searches/idi-p/3551524&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This idea has been accepted, and I think will solve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Definitely should default to "And".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the explanation.&amp;nbsp; Performance is important - maybe if you switch to "OR" there should be a little red text that appears below the "OK" button that says "This is going to take a while, are you sure?"&amp;nbsp; Please don't make it a pop up window - we have too many of those already! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 19:46:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/what-is-query-builder/m-p/7847261#M29429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T19:46:36Z</dc:date>
    </item>
  </channel>
</rss>

