<?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: get nodeRefs from tag name in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68570#M22727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;KPatel _&lt;/B&gt;‌&lt;BR /&gt;&lt;BR /&gt;If I am not wrong, contains predicate will not search on DB. It will take help of index.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2018 07:20:42 GMT</pubDate>
    <dc:creator>jayesh_prajapat</dc:creator>
    <dc:date>2018-05-09T07:20:42Z</dc:date>
    <item>
      <title>get nodeRefs from tag name</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68566#M22723</link>
      <description>Hi,Greetings of the day!currently, I am using alfresco 5.0d.I want a list of noderef&amp;nbsp;from tag&amp;nbsp;name within&amp;nbsp;a particular&amp;nbsp;folder.So for that, I am using tagging service.TaggingService().findTaggedNodes(node.getStoreRef(), ISO9075.encode(tag), node);its working fine, but its working on Lucene query. So</description>
      <pubDate>Tue, 01 May 2018 13:21:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68566#M22723</guid>
      <dc:creator>kpatel</dc:creator>
      <dc:date>2018-05-01T13:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: get nodeRefs from tag name</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68567#M22724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that you would have to live with the eventual consistency when using solr based queries. Maybe the transactional metadata queries can help in this case - but you‘d have to reconfigure Alfresco (db Indexes) for this...&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/community5.0/concepts/intrans-metadata.html" title="https://docs.alfresco.com/community5.0/concepts/intrans-metadata.html" rel="nofollow noopener noreferrer"&gt;Transactional metadata query | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 15:48:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68567#M22724</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-05-01T15:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: get nodeRefs from tag name</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68568#M22725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding to previous reply,&lt;BR /&gt;Solr&amp;nbsp;indexing works independent based on cron expression you configure. You will only receive data in query response after it get indexed. it means real time search using solr query is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alfresco provide multiple way to perform search. CMIS does search in DB&amp;nbsp;hence it can be used to search transaction data too (here are &lt;A href="https://docs.alfresco.com/community5.0/concepts/intrans-metadata-configure.html" rel="nofollow noopener noreferrer"&gt;configuration&lt;/A&gt; steps). You need to be mindful using right predicate.&amp;nbsp;If you use right predicate in where,&amp;nbsp;it will perform search in DB otherwise it will&amp;nbsp;take support of indexes. Refer&amp;nbsp;&lt;A href="https://docs.alfresco.com/community5.0/concepts/intrans-metadata-query.html" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community5.0/concepts/intrans-metadata-query.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 06:27:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68568#M22725</guid>
      <dc:creator>jayesh_prajapat</dc:creator>
      <dc:date>2018-05-03T06:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: get nodeRefs from tag name</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68569#M22726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;B&gt;Jayesh Prajapati&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;Thank you so much for your valuable reply.&lt;/P&gt;&lt;P&gt;can I use this query for getting test folder noderef in CMIS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * &lt;BR /&gt;from cmis:document &lt;BR /&gt;where contains('PATH:"/app:company_home/st:sites/cm:abc/cm:documentLibrary/cm:ffb203a9a92f469c97c1e461549cb932/cm:audit/cm:_x0030_0002016/cm:_x0032_5dbfe00f48b436f82fcadb1de76935b/cm:Test"')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;searchService()&lt;BR /&gt;.query(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE, SearchService.LANGUAGE_CMIS_ALFRESCO, querty);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this query gives me data from a direct database?&lt;/P&gt;&lt;P&gt;Please suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 05:46:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68569#M22726</guid>
      <dc:creator>kpatel</dc:creator>
      <dc:date>2018-05-09T05:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: get nodeRefs from tag name</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68570#M22727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;KPatel _&lt;/B&gt;‌&lt;BR /&gt;&lt;BR /&gt;If I am not wrong, contains predicate will not search on DB. It will take help of index.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 07:20:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68570#M22727</guid>
      <dc:creator>jayesh_prajapat</dc:creator>
      <dc:date>2018-05-09T07:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: get nodeRefs from tag name</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68571#M22728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;KPatel _&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope you try following too,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;NodeRef companyHome = getCompanyHome();&lt;BR /&gt;String path = "company_home/sites/abc/documentLibrary/ffb203a9a92f469c97c1e461549cb932/audit/_x0030_0002016/_x0032_5dbfe00f48b436f82fcadb1de76935b/Test";&lt;BR /&gt;List&amp;lt;String&amp;gt; pathElements = Arrays.asList(StringUtils.split(path, '/'));&lt;BR /&gt;NodeRef templateRef = fileFolderService.resolveNamePath(companyHome, pathElements).getNodeRef();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I'm not to sure about path you mentioned but I've used it in one of my project to&amp;nbsp;resolved folder path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 08:24:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-noderefs-from-tag-name/m-p/68571#M22728</guid>
      <dc:creator>jayesh_prajapat</dc:creator>
      <dc:date>2018-05-09T08:24:59Z</dc:date>
    </item>
  </channel>
</rss>

