<?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: Smart Folder: Search for documents in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35807#M15117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar,&lt;/P&gt;&lt;P&gt;I tried what you suggested, and I got just the one result:&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="color: #727174; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;docLib&amp;nbsp;&lt;/STRONG&gt;(image, and not pdf) file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-nader&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2017 07:15:45 GMT</pubDate>
    <dc:creator>naderm</dc:creator>
    <dc:date>2017-06-09T07:15:45Z</dc:date>
    <item>
      <title>Smart Folder: Search for documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35801#M15111</link>
      <description>I'm trying to define a 'smart folder template' to search for documents, but it doesn't work as expected. My target objective is to search documents by their properties, but I started with very simple criteria to retrieve/hit all documents. Here is my folder structureFolder-1- folder-11 (containing p</description>
      <pubDate>Thu, 08 Jun 2017 12:30:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35801#M15111</guid>
      <dc:creator>naderm</dc:creator>
      <dc:date>2017-06-08T12:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Folder: Search for documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35802#M15112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You forgot for PATH parameter.&lt;/P&gt;&lt;P&gt;Hence your query will, e.g.:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;"query": "(PATH:'/app:company_home/st:sites/cm:site-name/cm:documentLibrary//*') AND‍ =cm:content.mimetype:application/pdf"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;PATH is mandatory parameter.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.alfresco.com/community/concepts/sf-ref-template-guidance.html" title="http://docs.alfresco.com/community/concepts/sf-ref-template-guidance.html" rel="nofollow noopener noreferrer"&gt;Smart Folder Template syntax | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 13:38:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35802#M15112</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2017-06-08T13:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Folder: Search for documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35803#M15113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Bayu Widyasanyata&lt;/B&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks for your reply. I added the path as well. I don't get any hit. Here is my JSON content now:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;BR /&gt; "name": "Zoek Betaald Facturen",&lt;BR /&gt; "nodes": [{&lt;BR /&gt; "id": "1",&lt;BR /&gt; "name": "PDF Documents",&lt;BR /&gt; "search": {&lt;BR /&gt; "language": "fts-alfresco",&lt;BR /&gt; "query": "(PATH:'/app:company_home/st:sites/cm:HBS/cm:documentLibrary//*') AND =cm:content.mimetype:application/pdf"&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; ]&lt;BR /&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 14:55:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35803#M15113</guid>
      <dc:creator>naderm</dc:creator>
      <dc:date>2017-06-08T14:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Folder: Search for documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35804#M15114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just delete the parenthesis, and try the query again. You must have PDF files in your site.&lt;/P&gt;&lt;P&gt;If nothing appears, may you copy your query directly in Alfresco search ? In that case, do you have any results ?&lt;/P&gt;&lt;P&gt;If nothing appears, you may have some problem with your indices. Try to do searches in this site to check if SOLR is giving you any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 15:28:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35804#M15114</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-06-08T15:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Folder: Search for documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35805#M15115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The path parameter that is required is not the one inside the query itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query can be anything, without the need to include the path, as the Smart Folder can show objects from anywhere in the repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The required path parameter is used just when you are using the filing feature. See:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;Mandatory property in a filing rule. Path to store new documents. This is the &lt;/SPAN&gt;&lt;A href="https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/data-model/source/java/org/alfresco/util/" style="color: #56a3d9; background-color: #ffffff; font-weight: bold; text-decoration: none;" target="_blank" rel="nofollow noopener noreferrer"&gt;ISO9075&lt;/A&gt;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt; encoded QName.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;More on the filing, from the same page:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Optional rule that defines the filing action for a new file when it is uploaded to the Smart Folder. If no filing rule is defined, files are not permitted to be uploaded to that folder. Parameters include:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; path: path where a document is physically stored&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; classification: type and aspects assigned to the new file&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; properties: property values attributed to the new file&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 15:35:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35805#M15115</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-06-08T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Folder: Search for documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35806#M15116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A __default_attr="84633" __jive_macro_name="user" _jive_internal="true" data-id="84633" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/douglascrp" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌ for your clearer explanation. Yes, the path is not a mandatory. I revised my answer above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 02:35:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35806#M15116</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2017-06-09T02:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Folder: Search for documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35807#M15117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar,&lt;/P&gt;&lt;P&gt;I tried what you suggested, and I got just the one result:&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="color: #727174; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;docLib&amp;nbsp;&lt;/STRONG&gt;(image, and not pdf) file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-nader&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 07:15:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35807#M15117</guid>
      <dc:creator>naderm</dc:creator>
      <dc:date>2017-06-09T07:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Folder: Search for documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35808#M15118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;If you are doing the correct search in a site with pdf files inside, and no values (and same results) are obtained both in Alfresco search field or Smart folder, you may check your SOLR indices and reindex if possible. You should see SOLR related errors in your solr.log or catalina.out, if it is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This recipe may help:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.zylk.net/en/web-2-0/blog/-/blogs/performing-a-full-reindex-with-solr-for-alfresco-ecm" title="http://www.zylk.net/en/web-2-0/blog/-/blogs/performing-a-full-reindex-with-solr-for-alfresco-ecm" rel="nofollow noopener noreferrer"&gt;- Performing a full reindex with Solr for Alfresco ECM - zylk&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 07:32:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-search-for-documents/m-p/35808#M15118</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-06-09T07:32:16Z</dc:date>
    </item>
  </channel>
</rss>

