<?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 Path query without Lucene (or help with Lucene path queries) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/path-query-without-lucene-or-help-with-lucene-path-queries/m-p/147060#M102691</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;We are writing a web service client that uploads files to Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The web client first needs to recursively check for the existence of the files' parent directories and create them if they don't exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to do that without using Lucene, because we are worried that the web service client will try to update files faster than the Lucene index is updated by Alfresco. If a file in the repository is not in the Lucene index while we are trying to update it, it will result in the web service client trying to create the node again and getting a "Duplicate child name not allowed" exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But anyways, if Lucene is the only option, we would still need help with the query syntax. We have a file called "test" under the company home directory (the company home is called "CLIENT") . Whe have been trying the following without success :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;PATH:"/app:company_home/cm:test"&lt;BR /&gt;PATH:"/app:company_home/test"&lt;BR /&gt;PATH:"/cm:GIR/cm:test"&lt;BR /&gt;PATH:"/GIR/test"&lt;BR /&gt;PATH:"//GIR/test"&lt;BR /&gt;PATH:"//test"&lt;BR /&gt;etc…&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;/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;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;we know it doesn't work because we test the results in the following way : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;queryResult.getResultSet() == null || queryResult.getResultSet().getRows() == null || queryResult.getResultSet().getRows().length &amp;lt; 1&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;and this always returns true.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help would be very much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Sep 2007 00:01:36 GMT</pubDate>
    <dc:creator>varsenault</dc:creator>
    <dc:date>2007-09-10T00:01:36Z</dc:date>
    <item>
      <title>Path query without Lucene (or help with Lucene path queries)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/path-query-without-lucene-or-help-with-lucene-path-queries/m-p/147060#M102691</link>
      <description>Hi,We are writing a web service client that uploads files to Alfresco.The web client first needs to recursively check for the existence of the files' parent directories and create them if they don't exist.Is there a way to do that without using Lucene, because we are worried that the web service cli</description>
      <pubDate>Mon, 10 Sep 2007 00:01:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/path-query-without-lucene-or-help-with-lucene-path-queries/m-p/147060#M102691</guid>
      <dc:creator>varsenault</dc:creator>
      <dc:date>2007-09-10T00:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Path query without Lucene (or help with Lucene path queries)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/path-query-without-lucene-or-help-with-lucene-path-queries/m-p/147061#M102692</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;it woul be helpful if you post some more sourcecode.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 14:40:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/path-query-without-lucene-or-help-with-lucene-path-queries/m-p/147061#M102692</guid>
      <dc:creator>tobias_amon</dc:creator>
      <dc:date>2007-09-11T14:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Path query without Lucene (or help with Lucene path queries)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/path-query-without-lucene-or-help-with-lucene-path-queries/m-p/147062#M102693</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;Check the path to the folders in the node browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The PATH query is avilable on commit and will also support querying against the paths of nodes not yet committed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 15:20:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/path-query-without-lucene-or-help-with-lucene-path-queries/m-p/147062#M102693</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-09-11T15:20:31Z</dc:date>
    </item>
  </channel>
</rss>

