<?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: Find users with Lucene query using QName in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266892#M220022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The main reason I would like to use a Lucene query is to have a "one-shot" response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover this approach would be more flexible, especially when comes out the need of changing the query criteria.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't yet figure out why the search works well with the Alfresco node browser but not in debugger/code….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 14:47:37 GMT</pubDate>
    <dc:creator>abarisone</dc:creator>
    <dc:date>2011-09-07T14:47:37Z</dc:date>
    <item>
      <title>Find users with Lucene query using QName</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266887#M220017</link>
      <description>Hi all,I'm trying to get the list of all users belonging to a certain group using a Lucene query.Placing it into Alfresco Node Browser as:TYPE:"cm&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;erson" AND @cm\:userName:"*" AND QNAME:"sys:system/sys:authorities/cm:GROUP_USR_0000011046/*"‍I correctly obtain all the users for that group.But when t</description>
      <pubDate>Tue, 23 Aug 2011 13:49:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266887#M220017</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2011-08-23T13:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Find users with Lucene query using QName</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266888#M220018</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;I am not sure why you have your issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the clause&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@cm\:userName:"*"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; has no point as the property is mandatory for the type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and you are abusing QNAME.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It happens to be implemented as PATH:"//&amp;lt;QNAME&amp;gt;" - you would be better using PATH as you are not just using a qname - then you cna avoid the "//" at the start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 09:15:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266888#M220018</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2011-08-24T09:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Find users with Lucene query using QName</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266889#M220019</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;Are you using the same query language?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the full exception?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 09:17:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266889#M220019</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2011-08-24T09:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Find users with Lucene query using QName</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266890#M220020</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;SPAN&gt;the strange thing is that trying with both QName and Path it works on the node browser. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it doesn't with alfresco debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover the message I provided is the only message I obtain from alfresco debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which is the correct way to write the lucene query?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 13:13:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266890#M220020</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2011-08-24T13:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Find users with Lucene query using QName</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266891#M220021</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;I'm sorry I have no idea what's wrong with the syntax so I may not be useful at all but…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a good reason why you're not using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;people.getMembers(people.getGroup("GROUP_USR_0000011046"));&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; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;instead of a lucene query?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 15:10:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266891#M220021</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2011-09-06T15:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Find users with Lucene query using QName</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266892#M220022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The main reason I would like to use a Lucene query is to have a "one-shot" response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover this approach would be more flexible, especially when comes out the need of changing the query criteria.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't yet figure out why the search works well with the Alfresco node browser but not in debugger/code….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 14:47:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/find-users-with-lucene-query-using-qname/m-p/266892#M220022</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2011-09-07T14:47:37Z</dc:date>
    </item>
  </channel>
</rss>

