<?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: exclude a certain path from all user searches in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/exclude-a-certain-path-from-all-user-searches/m-p/298511#M251641</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;The default template is only used when you do not specify a field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So if your query specifies fields it will not use the template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5.1 exposes filters in the query API - which would be a better, cached solution than adding it to the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, we do not have the concept of fixed filters in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Solr does allow you to add default parameters to the query handler configuration in solrconfig.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can edit the /afts query handler and add "fq" = "&amp;lt;your filter query&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are already some default parameters in there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could do this for /cmis too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2016 19:58:33 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2016-05-31T19:58:33Z</dc:date>
    <item>
      <title>exclude a certain path from all user searches</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclude-a-certain-path-from-all-user-searches/m-p/298510#M251640</link>
      <description>HiUnfortunately we have a special folder named "_archive" in our repository everywhere. This folder has its purpose. But: When searching for content/documents we want to exclude it and every content beneath "_archive".So, what i want is to exclude the path and its member from all user searches. Synt</description>
      <pubDate>Thu, 26 May 2016 12:02:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclude-a-certain-path-from-all-user-searches/m-p/298510#M251640</guid>
      <dc:creator>mrksjs</dc:creator>
      <dc:date>2016-05-26T12:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: exclude a certain path from all user searches</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclude-a-certain-path-from-all-user-searches/m-p/298511#M251641</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;The default template is only used when you do not specify a field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So if your query specifies fields it will not use the template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5.1 exposes filters in the query API - which would be a better, cached solution than adding it to the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, we do not have the concept of fixed filters in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Solr does allow you to add default parameters to the query handler configuration in solrconfig.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can edit the /afts query handler and add "fq" = "&amp;lt;your filter query&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are already some default parameters in there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could do this for /cmis too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 19:58:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclude-a-certain-path-from-all-user-searches/m-p/298511#M251641</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2016-05-31T19:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: exclude a certain path from all user searches</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclude-a-certain-path-from-all-user-searches/m-p/298512#M251642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Interesting solution, thanks Andy!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ended up overwriting the templates/webscripts/org/alfresco/slingshot/search webscripts.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 09:54:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclude-a-certain-path-from-all-user-searches/m-p/298512#M251642</guid>
      <dc:creator>mrksjs</dc:creator>
      <dc:date>2016-06-01T09:54:37Z</dc:date>
    </item>
  </channel>
</rss>

