<?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 Alfresco JCR xpath search in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144656#M101146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've quite successfully used the Alfresco JCR-JNDI Bridge found in Jira. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is with QueryManager xpath query performance. It seems that no matter how simple query I make it always takes around 30 seconds to complete which is completely unacceptable. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a sample query //app:company_home/dws:Folder1/dsw:Folder2/element(*, dws:article)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dws:Folder1 and dws:Folder2 are custom model types that extend cm:folder and dws:article is a custom type that extends cm:content&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dws:Folder2 has 6 items.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found this old forum post &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=1908" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=1908&lt;/A&gt;&lt;SPAN&gt; about bad query performance. Hasn't there been done anything for this in 18 months. Is Alfresco ever going to commit to JCR or is it just marketing bullXXXX for managers that don't know better?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW Why isn't the JCR-JNDI bridge made part of official Alfresco release? There is no use for JCR API you can't get to from other apps running in same jvm but different webapp.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2007 11:55:38 GMT</pubDate>
    <dc:creator>koivimik</dc:creator>
    <dc:date>2007-11-23T11:55:38Z</dc:date>
    <item>
      <title>Alfresco JCR xpath search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144656#M101146</link>
      <description>I've quite successfully used the Alfresco JCR-JNDI Bridge found in Jira. My problem is with QueryManager xpath query performance. It seems that no matter how simple query I make it always takes around 30 seconds to complete which is completely unacceptable. Here is a sample query //app:company_home/</description>
      <pubDate>Fri, 23 Nov 2007 11:55:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144656#M101146</guid>
      <dc:creator>koivimik</dc:creator>
      <dc:date>2007-11-23T11:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco JCR xpath search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144657#M101147</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;Some XPATH queries will be slow. The implementation walks the repo with some optimisations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The example path query starts with // so will consider all nodes in the repo. There is no reason for // in the query. So you can remove it and it will be a lot faster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 11:29:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144657#M101147</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-12-03T11:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco JCR xpath search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144658#M101148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for replying. I've tried to use the query without // but it always results in 0 results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Query app:company_home yields 1 result as does /app:company_home now if I query app:company_home/dws:Folder1 I get 0 results same with /app:company_home/dws:Folder1. It really doesn't matter what I put after app:company_home since I always get 0 results. Putting // before app:company_home always yields correct amount of results but the performance of the query is poor.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2007 11:25:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144658#M101148</guid>
      <dc:creator>koivimik</dc:creator>
      <dc:date>2007-12-09T11:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco JCR xpath search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144659#M101149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure your path is correct? As if you get 0 results it's probably not.&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>Fri, 04 Jan 2008 16:13:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144659#M101149</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2008-01-04T16:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco JCR xpath search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144660#M101150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well you tell me! I think it should be. If I have a folder called Folder1 with ns dws under the Company Home shouldn't the absolute path be /app:company_home/dws:Folder1 ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jan 2008 10:49:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144660#M101150</guid>
      <dc:creator>koivimik</dc:creator>
      <dc:date>2008-01-05T10:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco JCR xpath search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144661#M101151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This path is still relative against spaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to add prefix "/alf:space" instead of "//"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 17:33:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144661#M101151</guid>
      <dc:creator>szpakoo23</dc:creator>
      <dc:date>2008-07-21T17:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco JCR xpath search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144662#M101152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might want to try vtd-xml for the best xml parsing/xpath performance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://vtd-xml.sf.net" rel="nofollow noopener noreferrer"&gt;http://vtd-xml.sf.net&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 01:40:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-jcr-xpath-search/m-p/144662#M101152</guid>
      <dc:creator>jzhang2007</dc:creator>
      <dc:date>2009-11-26T01:40:40Z</dc:date>
    </item>
  </channel>
</rss>

