<?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: Simple Searching in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/simple-searching/m-p/98853#M68211</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;PATH uses prefixes not full uris (as XPATH does).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should solve your issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2007 11:29:42 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2007-05-10T11:29:42Z</dc:date>
    <item>
      <title>Simple Searching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-searching/m-p/98852#M68210</link>
      <description>I am trying to do some simple searching and I am having a hard time trying to figure out how…..I am doing a simple search the works for a jpg in my repository:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Query query = new Query(Constants.QUERY_LANG_LUCENE, "@\\{http\\://www.alfresco.org/model/content/1.0\\}name:myimage.jpg");‍‍‍this</description>
      <pubDate>Thu, 10 May 2007 01:40:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-searching/m-p/98852#M68210</guid>
      <dc:creator>nyronian</dc:creator>
      <dc:date>2007-05-10T01:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Searching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-searching/m-p/98853#M68211</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;PATH uses prefixes not full uris (as XPATH does).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should solve your issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 11:29:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-searching/m-p/98853#M68211</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-05-10T11:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Searching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-searching/m-p/98854#M68212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;The PATH specifies the path to search in and it also is not escaped correctly (the '/' character in the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;&lt;SPAN&gt; part needs escaping for instance - as you did in your original query attempt). You can use the short qname form to make it easier with less escaping, and then you'll want something like this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Query query = new Query(Constants.QUERY_LANG_LUCENE, "PATH:\"/app:company_home/app:dictionary/cm:Images/*\" AND @\{http\://&lt;A href="http://www.alfresco.org/model/content/1.0\}name:myimage.jpg" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}name:myimage.jpg&lt;/A&gt;");&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;BR /&gt;&lt;SPAN&gt;I think that should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 11:30:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-searching/m-p/98854#M68212</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-05-10T11:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Searching</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-searching/m-p/98855#M68213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much…it worked perfectly!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 16:34:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-searching/m-p/98855#M68213</guid>
      <dc:creator>nyronian</dc:creator>
      <dc:date>2007-05-10T16:34:13Z</dc:date>
    </item>
  </channel>
</rss>

