<?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 files using fts-alfresco in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88684#M26631</link>
    <description>&lt;P&gt;Another problem when using the "?" wildcard character.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;3) Query file name starting with "28" followed by "?????.pdf". Results as expected.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Query3.png" style="width: 665px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/867i48C58A2DF88BEDB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;4) Replace "28" with "??". Nothing found.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Query4.png" style="width: 663px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/866iCC9A8D17CAD6D5A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;Any Ideas?&lt;/P&gt;</description>
    <pubDate>Mon, 12 Oct 2020 10:33:25 GMT</pubDate>
    <dc:creator>Hoang</dc:creator>
    <dc:date>2020-10-12T10:33:25Z</dc:date>
    <item>
      <title>Searching files using fts-alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88679#M26626</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I use fts-alfresco to search file name containing words starting with "&lt;FONT color="#FF0000"&gt;my&lt;/FONT&gt;"&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;query: "+TYPE:content AND cm:name:&lt;FONT color="#FF0000"&gt;'my*'&lt;/FONT&gt; AND PATH:'app:company_home/cm:Test//*'"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;But I get also&amp;nbsp; files, which not starting with "&lt;FONT color="#FF0000"&gt;my&lt;/FONT&gt;"&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;"mydoc.xml" &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"mytext.completeness.log"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"78789_my.joblog.lxml"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"1787975_my.joblog.html"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Any ideas for that?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hoang&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 13:47:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88679#M26626</guid>
      <dc:creator>Hoang</dc:creator>
      <dc:date>2020-10-06T13:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Searching files using fts-alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88680#M26627</link>
      <description>&lt;P&gt;FTS is applying tokenization for "cm:name" field, so you get extra results that include "my" as token.&lt;/P&gt;
&lt;P&gt;You can switch to CMIS Syntax, using a query similar to this one:&lt;/P&gt;
&lt;PRE&gt;SELECT * FROM cmis:document WHERE cmis:name LIKE 'my%'&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Oct 2020 14:47:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88680#M26627</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-10-06T14:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Searching files using fts-alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88681#M26628</link>
      <description>&lt;P&gt;Thanks &lt;SPAN class="UserName lia-user-name lia-user-rank-Alfresco-Employee lia-component-message-view-widget-author-username"&gt;&lt;A href="https://hub.alfresco.com/t5/user/viewprofilepage/user-id/5487" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN class="login-bold"&gt;angelborroy&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I've found some ways to achieve that including your suggestion.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CMIS:&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;query: "SELECT * FROM cmis:document WHERE IN_TREE('543a5920-8b57-4f7b-8831-fab4ae39eaa0') AND cmis:name like 'my%'"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;or search for an exact term using "="&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;query: "SELECT * FROM cmis:document WHERE IN_TREE('543a5920-8b57-4f7b-8831-fab4ae39eaa0') AND CONTAINS('&lt;FONT color="#FF0000"&gt;=&lt;/FONT&gt;cmis:name:my*')"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AFS:&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;query: query: "+TYPE:content AND &lt;FONT color="#FF0000"&gt;=&lt;/FONT&gt;cm:name:'my*' AND PATH:'app:company_home/cm:Test//*'"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Results as expected:&lt;BR /&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="courier new,courier"&gt;"mydoc.xml" &lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;"mytext.completeness.log"&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 12:54:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88681#M26628</guid>
      <dc:creator>Hoang</dc:creator>
      <dc:date>2020-10-07T12:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Searching files using fts-alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88682#M26629</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt; I guess this "AFS" query from last comment is one that we broke in 2.0.0...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://issues.alfresco.com/jira/browse/SEARCH-2461" target="_blank" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/SEARCH-2461&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 12:59:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88682#M26629</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-10-07T12:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Searching files using fts-alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88683#M26630</link>
      <description>&lt;P&gt;I have an other problem when using "=".&lt;/P&gt;&lt;P&gt;&lt;U&gt;Example&lt;/U&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1) Query without "=".&lt;/STRONG&gt; All pdf files were found. Results as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query: &lt;FONT face="courier new,courier"&gt;PATH:'/app:company_home/cm:Test//*' AND &lt;STRONG&gt;cm:name&lt;/STRONG&gt;:'*.pdf'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Query1.png" style="width: 663px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/863i88FE1F57FBDE84B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) Query with "=". &lt;/STRONG&gt;Just only one was found. But all pdf files should be also found.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Query:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;PATH:'/app:company_home/cm:Test//*' AND &lt;STRONG&gt;=cm:name&lt;/STRONG&gt;:'*.pdf'&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Query2.png" style="width: 664px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/868i0B682923966D1A8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;Is this a bug?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 09:15:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88683#M26630</guid>
      <dc:creator>Hoang</dc:creator>
      <dc:date>2020-10-12T09:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Searching files using fts-alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88684#M26631</link>
      <description>&lt;P&gt;Another problem when using the "?" wildcard character.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;3) Query file name starting with "28" followed by "?????.pdf". Results as expected.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Query3.png" style="width: 665px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/867i48C58A2DF88BEDB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;4) Replace "28" with "??". Nothing found.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Query4.png" style="width: 663px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/866iCC9A8D17CAD6D5A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;Any Ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 10:33:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/searching-files-using-fts-alfresco/m-p/88684#M26631</guid>
      <dc:creator>Hoang</dc:creator>
      <dc:date>2020-10-12T10:33:25Z</dc:date>
    </item>
  </channel>
</rss>

