<?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 searching by uuid problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/searching-by-uuid-problem/m-p/304648#M257778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to search a node by the uuid, but don't works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt;PATH: "//app:company_home/app:user_homes/cm:APG//." AND @sys\:node-uuid:"9c7e7c6c-f729-4aff-98ed-8e2ff0ceaf85" &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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And my code for the search:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SearchParameters sp = new SearchParameters();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sp.addStore(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sp.setLanguage(SearchService.LANGUAGE_LUCENE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sp.setQuery(query);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ResultSet results = getSearchService().query(sp);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's wrong in my query? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see in the properties that exists:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/system/1.0}node-uuid=9c7e7c6c-f729-4aff-98ed-8e2ff0ceaf85" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/system/1.0}node-uuid=9c7e7c6c-f729-4aff-98ed-8e2ff0ceaf85&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2014 15:45:02 GMT</pubDate>
    <dc:creator>spilby</dc:creator>
    <dc:date>2014-05-28T15:45:02Z</dc:date>
    <item>
      <title>searching by uuid problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-by-uuid-problem/m-p/304648#M257778</link>
      <description>I'm trying to search a node by the uuid, but don't works.This is my query&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;ATH: "//app:company_home/app:user_homes/cm:APG//." AND @sys\:node-uuid:"9c7e7c6c-f729-4aff-98ed-8e2ff0ceaf85" ‍‍‍And my code for the search&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;earchParameters sp = new SearchParameters();sp.addStore(StoreRef.STORE_REF_WORKSPACE</description>
      <pubDate>Wed, 28 May 2014 15:45:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-by-uuid-problem/m-p/304648#M257778</guid>
      <dc:creator>spilby</dc:creator>
      <dc:date>2014-05-28T15:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: searching by uuid problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-by-uuid-problem/m-p/304649#M257779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use ID field ,like below&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;PATH: "//app:company_home/app:user_homes/cm:APG//." AND ID:workspace\://SpacesStore/9c7e7c6c-f729-4aff-98ed-8e2ff0ceaf85&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 16:35:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-by-uuid-problem/m-p/304649#M257779</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-05-28T16:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: searching by uuid problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-by-uuid-problem/m-p/304650#M257780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@sys\:node-uuid:9c7e7c6c-f729-4aff-98ed-8e2ff0ceaf85 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;should work&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 17:19:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-by-uuid-problem/m-p/304650#M257780</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-05-28T17:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: searching by uuid problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-by-uuid-problem/m-p/304651#M257781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oks! Now works! Was a problem with the " character. This query works perfectly. Thanks! &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;String queryLucene = "PATH: \"/" +path+"//.\"" + " AND @sys\\:node-uuid:\""+uuid+"\"" + " AND TYPE:\""+documentType+"\"";&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 08:35:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-by-uuid-problem/m-p/304651#M257781</guid>
      <dc:creator>spilby</dc:creator>
      <dc:date>2014-05-29T08:35:11Z</dc:date>
    </item>
  </channel>
</rss>

