<?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: Restrict search to a specific site using REST API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31049#M13156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We tried that too e.g. 'my-first-site'. That didn't work either. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Sep 2017 10:43:17 GMT</pubDate>
    <dc:creator>vezance</dc:creator>
    <dc:date>2017-09-12T10:43:17Z</dc:date>
    <item>
      <title>Restrict search to a specific site using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31045#M13152</link>
      <description>We are using Alfresco CE 5.2. Using the REST API for Search, we want to restrict the search to a particular site only. Going through the Search API details&amp;nbsp;on the API explorer page, we did not find any details on how to restrict search to one site.&amp;nbsp;We also tried the following solution provided by so</description>
      <pubDate>Mon, 11 Sep 2017 15:30:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31045#M13152</guid>
      <dc:creator>vezance</dc:creator>
      <dc:date>2017-09-11T15:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict search to a specific site using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31046#M13153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add SITE:&amp;lt;sitename&amp;gt; to your query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"query": "SITE:&amp;lt;sitename&amp;gt; ..."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or the folder to search within as "ANCESTOR":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"query": "ANCESTOR:\"workspace://SpacesStore/...\""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 08:48:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31046#M13153</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-09-12T08:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict search to a specific site using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31047#M13154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The one with 'SITE' did not work for us.&lt;/P&gt;&lt;P&gt;When you say &amp;lt;sitename&amp;gt;, do I just mention the site name e.g. 'My First Site', or something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'ANCESTOR' one worked, though. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 10:37:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31047#M13154</guid>
      <dc:creator>vezance</dc:creator>
      <dc:date>2017-09-12T10:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict search to a specific site using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31048#M13155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the site name should be the "short name" or "id" of the site. The one that's also used in the url to the site.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 10:39:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31048#M13155</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-09-12T10:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict search to a specific site using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31049#M13156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We tried that too e.g. 'my-first-site'. That didn't work either. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 10:43:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31049#M13156</guid>
      <dc:creator>vezance</dc:creator>
      <dc:date>2017-09-12T10:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict search to a specific site using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31050#M13157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had testsite and it worked, maybe you have to put it in quotes when the string contains "-" :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"query":"SITE:\"my-first-site\""&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 10:45:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31050#M13157</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-09-12T10:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict search to a specific site using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31051#M13158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked perfectly. Thanks Martin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 03:53:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restrict-search-to-a-specific-site-using-rest-api/m-p/31051#M13158</guid>
      <dc:creator>vezance</dc:creator>
      <dc:date>2017-09-13T03:53:52Z</dc:date>
    </item>
  </channel>
</rss>

