<?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: Lucene Search based on filename in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-based-on-filename/m-p/224658#M177788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maqsood,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to search "File1", it should return both the entries - "File1.txt" and "File1.pdf".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2009 22:37:46 GMT</pubDate>
    <dc:creator>nvsreeram</dc:creator>
    <dc:date>2009-10-27T22:37:46Z</dc:date>
    <item>
      <title>Lucene Search based on filename</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-based-on-filename/m-p/224657#M177787</link>
      <description>Hi,Can anyone help me out&amp;nbsp; ..I am using web service to search a file in alfresco repository, here's the code:RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService();&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; // Create a query object, looking for all items with alfresco in the nam</description>
      <pubDate>Tue, 27 Oct 2009 12:12:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-based-on-filename/m-p/224657#M177787</guid>
      <dc:creator>maqsood</dc:creator>
      <dc:date>2009-10-27T12:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search based on filename</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-based-on-filename/m-p/224658#M177788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maqsood,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to search "File1", it should return both the entries - "File1.txt" and "File1.pdf".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 22:37:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-based-on-filename/m-p/224658#M177788</guid>
      <dc:creator>nvsreeram</dc:creator>
      <dc:date>2009-10-27T22:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search based on filename</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-based-on-filename/m-p/224659#M177789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to search for name only:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;+@cm\:name:*file1*&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;and if you additionally want to reduce the search to the direct descendants of company home:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;+@cm\:name:*file1* +PATH:"/app:company_home/*"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;This site &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search&lt;/A&gt;&lt;SPAN&gt; explains a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 07:25:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-based-on-filename/m-p/224659#M177789</guid>
      <dc:creator>sebp</dc:creator>
      <dc:date>2009-10-28T07:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search based on filename</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-based-on-filename/m-p/224660#M177790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks alot for your help guys.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Refering wiki resolves my problem. One more question I want to clarify may be Its there in wiki but i am not able to make out any solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before displaying the result, How do I check user has enough permission to view the file(s)&amp;nbsp; :?: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to show the result iff user has permission to view the file otherwise some message.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 14:56:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-based-on-filename/m-p/224660#M177790</guid>
      <dc:creator>maqsood</dc:creator>
      <dc:date>2009-10-28T14:56:55Z</dc:date>
    </item>
  </channel>
</rss>

