<?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 Lucene Queries in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-queries/m-p/284571#M237701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello guys!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some problems with lucene queries. I have searched google for about 1 hour, but i didn't find a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to create query, which gives me files, which are under a specific path and a specific file name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That works so far, but the query just does a 'contains' for the filename attribute and not things like 'start with', 'ends with', and so on:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;PATH:"/app:company_home/app:dictionary//*" +TYPE:"cm:content" +@cm\:name:email&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried several types of this query like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;PATH:"/app:company_home/app:dictionary//*" AND +TYPE:"cm:content" AND +@cm\:name:email&lt;BR /&gt;PATH:"/app:company_home/app:dictionary//*" AND TYPE:"cm:content" AND @cm\:name:"email"&lt;BR /&gt;PATH:"/app:company_home/app:dictionary//*" AND TYPE:"cm:content" AND @cm\:name:"email*"&lt;BR /&gt;+PATH:"/app:company_home/app:dictionary//*" AND +TYPE:"cm:content" AND +@cm\:name:"email*"&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I always get a full list of files, which are containing the name "email". I want to get files, which are starting with the name "email".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone got a solution please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2015 08:27:29 GMT</pubDate>
    <dc:creator>alfrescot3ster</dc:creator>
    <dc:date>2015-06-12T08:27:29Z</dc:date>
    <item>
      <title>Lucene Queries</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-queries/m-p/284571#M237701</link>
      <description>Hello guys!I have some problems with lucene queries. I have searched google for about 1 hour, but i didn't find a solution.I want to create query, which gives me files, which are under a specific path and a specific file name.That works so far, but the query just does a 'contains' for the filename a</description>
      <pubDate>Fri, 12 Jun 2015 08:27:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-queries/m-p/284571#M237701</guid>
      <dc:creator>alfrescot3ster</dc:creator>
      <dc:date>2015-06-12T08:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Queries</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-queries/m-p/284572#M237702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Instead of &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;@cm\:name:"email*"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;, try using &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;@cm\:name:email*&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; and check. It should give you the results whose name starts with the text email.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 08:54:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-queries/m-p/284572#M237702</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2015-06-12T08:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Queries</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-queries/m-p/284573#M237703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thx for your answer, I have found the 'bug'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tested it with the files, which are generated by Alfresco (e.g. "cm:new-user-email_fr.html.ftl" or "cm:emailbody_textplain_share_fr.ftl")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These files are not working quite good with the lucene search. If I test the same with own uploaded files, its working perfect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont know what's going on there. &lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 04:37:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-queries/m-p/284573#M237703</guid>
      <dc:creator>alfrescot3ster</dc:creator>
      <dc:date>2015-06-15T04:37:19Z</dc:date>
    </item>
  </channel>
</rss>

