<?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: How to search the custom space using path query in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42015#M22531</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;BR /&gt;&lt;SPAN&gt;Thanks for your reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed your code but still i am getting the resultset size is 0 only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a right query?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jul 2006 13:57:48 GMT</pubDate>
    <dc:creator>srinivasan</dc:creator>
    <dc:date>2006-07-24T13:57:48Z</dc:date>
    <item>
      <title>How to search the custom space using path query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42013#M22529</link>
      <description>Hi Developers,I have created the custom space in the company home, the space name is ECM, inside ECM i have two more custom space ECM1 and ECM2.I found the sample code for search in the firstfoundationclient.java which is given below.SearchService searchService = serviceRegistry.getSearchService();&amp;nbsp;</description>
      <pubDate>Tue, 18 Jul 2006 04:53:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42013#M22529</guid>
      <dc:creator>srinivasan</dc:creator>
      <dc:date>2006-07-18T04:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the custom space using path query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42014#M22530</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;Yes, your search query is wrong…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try&lt;/SPAN&gt;&lt;BR /&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:ECM/*\""&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;See the search examples on the wiki.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&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, 19 Jul 2006 18:24:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42014#M22530</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-07-19T18:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the custom space using path query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42015#M22531</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;BR /&gt;&lt;SPAN&gt;Thanks for your reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed your code but still i am getting the resultset size is 0 only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a right query?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2006 13:57:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42015#M22531</guid>
      <dc:creator>srinivasan</dc:creator>
      <dc:date>2006-07-24T13:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the custom space using path query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42016#M22532</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 looks right to me, from what you have said&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you create these nodes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;"PATH:\"//cm:ECM\""&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;This should find cm:ECM anywhere in the repository ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&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, 25 Jul 2006 08:16:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42016#M22532</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-07-25T08:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the custom space using path query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42017#M22533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello there. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just read all these posts, and i have the same problem. I have tried all the options you say, and the size is = 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the following code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;SearchParameters sp = new SearchParameters();&lt;BR /&gt;sp.addStore(Repository.getStoreRef());&lt;BR /&gt;sp.setLanguage(SearchService.LANGUAGE_LUCENE);&lt;BR /&gt;//sp.setQuery("PATH:\"/app:company_home/cm:service/cm:sub/*\"");&lt;BR /&gt;&amp;nbsp; sp.setQuery("PATH:\"//cm:sub\"");&lt;BR /&gt;ResultSet results = Repository.getServiceRegistry(context).getSearchService().query(sp);&lt;BR /&gt;List&amp;lt;NodeRef&amp;gt; listResults = results.getNodeRefs();&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;I have tried many options following the wiki document search, and listResults.size() = 0 in all of those cases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Inside cm:sub, i have just a folder, which contains more folders, but it founds none of them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that code correctly witten? or is there something wrong. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help and waiting for an answer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bird&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2006 11:43:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42017#M22533</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2006-08-02T11:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the custom space using path query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42018#M22534</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 nodes and paths exist by following the the QNAME trail in the node browser (off the admin console) in the UI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the user executing the query have permission to see the nodes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, they do not come back in the search results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So what are the permission settings on the thing you are trying to find and all of its parents?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Who is runing the query? What groups are they in?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does a search for //* include the node you expect ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&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, 03 Aug 2006 13:55:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-search-the-custom-space-using-path-query/m-p/42018#M22534</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-08-03T13:55:46Z</dc:date>
    </item>
  </channel>
</rss>

