<?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: Searching with AND logical operator in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262644#M215774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think you can restrict a search to only one occurrence of a term. I don't see any syntax for this feature in the doc api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The closest syntax of your needs is : +server +cluster.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2013 10:41:37 GMT</pubDate>
    <dc:creator>abr</dc:creator>
    <dc:date>2013-01-07T10:41:37Z</dc:date>
    <item>
      <title>Searching with AND logical operator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262641#M215771</link>
      <description>We are using Alfresco Community Edition 4.2.c (Windows 64 bit and Linux platform).Doing a research restricted to file names using the AND logical operator (example: server AND cluster) the results aren't that expected.We want only the documents containing the words "server" AND the words "cluster" b</description>
      <pubDate>Fri, 28 Dec 2012 15:20:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262641#M215771</guid>
      <dc:creator>frankp</dc:creator>
      <dc:date>2012-12-28T15:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with AND logical operator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262642#M215772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The search syntax you want is "server AND cluster".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To restrict it to just filenames, you would use the "name:" metadata scope: "name:server AND name:cluster". That would match a filename like "Server14 Cluster5.pdf"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By default, Alfresco will not do a suffix or substring search. So it will only match on strings that are separated by whitespace. This is often not the case in filenames, so you might want to include the wildcard operator in order to catch names like server14_cluster5.pdf. The search string would be "name:*server AND name:*cluster".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The syntax is documentation is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/4.1/topic/com.alfresco.enterprise.doc/concepts/rm-searchsyntax-intro.html#1" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.1/topic/com.alfresco.enterprise.doc/concepts/rm-searchsyntax-intro.html#1&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jan 2013 00:41:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262642#M215772</guid>
      <dc:creator>resplin</dc:creator>
      <dc:date>2013-01-06T00:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with AND logical operator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262643#M215773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Resplin, thanks for your reply but our problems remains.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are searching using the text box in the upper right corner in the Alfresco Explorer window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When we use the sintax "name:server" no documents are returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When we simply use the word "server" the documents containing the word server in the file name or in the contents are returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When we simply use the word "server" and select the "file names only" in the list box on the left of text&amp;nbsp; box, only the documents containing the word server in the file name are returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the logical operator AND, the problem is that the word "AND" is treated as a normal word !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Searching for "server AND cluster", Alfresco returns all the documents tha have the word "server" OR the word "cluster" OR the word "AND" in the file name or in the contents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Selecting the&amp;nbsp; "file names only" in the list box, we can restrict the research only to filenames but the "AND problem" remains !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 09:12:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262643#M215773</guid>
      <dc:creator>frankp</dc:creator>
      <dc:date>2013-01-07T09:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with AND logical operator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262644#M215774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think you can restrict a search to only one occurrence of a term. I don't see any syntax for this feature in the doc api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The closest syntax of your needs is : +server +cluster.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 10:41:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262644#M215774</guid>
      <dc:creator>abr</dc:creator>
      <dc:date>2013-01-07T10:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with AND logical operator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262645#M215775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tested my answer against Alfresco Share, and I'm surprised the behavior in Explorer isn't the same (I would expect "and" to be a stopword in the index).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully someone who is more familiar with the Explorer interface can offer more help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 17:47:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262645#M215775</guid>
      <dc:creator>resplin</dc:creator>
      <dc:date>2013-01-10T17:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with AND logical operator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262646#M215776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Share exposes Alfresco FTS direct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The explorer client has its own query builder that does other things and builds a query string for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do not expect Alfresco FTS here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/3.4/index.jsp?topic=%2Fcom.alfresco.Enterprise_3_4_0.doc%2Fconcepts%2Frm-searchsyntax-intro.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/3.4/index.jsp?topic=%2Fcom.alfresco.Enterprise_3_4_0.doc%2Fconcepts%2Frm-searchsyntax-intro.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There used to be more on the wiki somewhere ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can configure default AND or OR behaviour for the explorer search.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect the query builder is ORing the terms regardless of the +.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can change the default to AND if that helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There have been some bug fixes in this area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It may have been doing &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(match term one in any of the searched fields) and (match term two in any of the search fields)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which will also broaden the search unexpectedly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 19:57:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262646#M215776</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2013-01-10T19:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with AND logical operator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262647#M215777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your suggestions !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Searching in Alfresco Share with the sintax "name:server and name:cluster" only the documents with both the terms in the file name are founded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Remains a problem: the search do not works for same subfolders.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have this structure:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Repository&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; |———Sites&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |———Presidio CED&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |———–Documents&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same documents are in the "Presidio CED" and "Documents" folders but only that in the "Presidio CED" folder are founded !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there limits in the deep of subfolders using the search feature ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 09:13:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262647#M215777</guid>
      <dc:creator>frankp</dc:creator>
      <dc:date>2013-01-11T09:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with AND logical operator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262648#M215778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have seen that the format of the previous post is showed incorrectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The folder listed are all nested: "Sites" is a subfolder of "Repository", "Presidio CED" a subfolder of "Sites" and "Documents" a subfolder of "Presidio CED".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 09:17:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-and-logical-operator/m-p/262648#M215778</guid>
      <dc:creator>frankp</dc:creator>
      <dc:date>2013-01-11T09:17:27Z</dc:date>
    </item>
  </channel>
</rss>

