<?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: search.findNode to get noderef from path giving null everytim  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-to-get-noderef-from-path-giving-null-everytim/m-p/302401#M255531</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;SPAN&gt;You can consider the following points to check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Does the file exists really ? !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Does the current user permission to access it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Does the file path is correct ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Does the document is indexed by the search engine(SOLR/Lucene) ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 04:50:13 GMT</pubDate>
    <dc:creator>muralidharand</dc:creator>
    <dc:date>2015-03-18T04:50:13Z</dc:date>
    <item>
      <title>search.findNode to get noderef from path giving null everytim</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-to-get-noderef-from-path-giving-null-everytim/m-p/302400#M255530</link>
      <description>Hi All ,I am following below documenthttp://docs.alfresco.com/4.2/references/API-JS-findNode.htmlI want to find nodeRef from actual path in alfresco repository.as per above link i did below in my javascript controller web script :var referenceType = "path";// store type, store id, display path var r</description>
      <pubDate>Tue, 17 Mar 2015 13:07:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-findnode-to-get-noderef-from-path-giving-null-everytim/m-p/302400#M255530</guid>
      <dc:creator>aditya_chaudhar</dc:creator>
      <dc:date>2015-03-17T13:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: search.findNode to get noderef from path giving null everytim</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-to-get-noderef-from-path-giving-null-everytim/m-p/302401#M255531</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;SPAN&gt;You can consider the following points to check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Does the file exists really ? !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Does the current user permission to access it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Does the file path is correct ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Does the document is indexed by the search engine(SOLR/Lucene) ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 04:50:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-findnode-to-get-noderef-from-path-giving-null-everytim/m-p/302401#M255531</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2015-03-18T04:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: search.findNode to get noderef from path giving null everytim</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-to-get-noderef-from-path-giving-null-everytim/m-p/302402#M255532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi muralidharand ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your quick reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My real problem is with last point you mentioned &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the document is indexed by the search engine(SOLR/Lucene) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have changed my approach to satisfy need and to complete development in time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem was unexpected behaviour of lucene search ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As an alternative for i arrived at search.findNode(referenceType, reference);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As this were behaving unexpected and due to some time limits i opt for below simple technique&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;companyhome.childByNamePath("/sites/sitename/documentlibrary/somename/"+filename);&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this is not the best solution to search in repository i will update soon on my test results of search.findNode(referenceType, reference);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;also about how lucene search behaves unexpectedly in my case&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot again for your quick help. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 11:22:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-findnode-to-get-noderef-from-path-giving-null-everytim/m-p/302402#M255532</guid>
      <dc:creator>aditya_chaudhar</dc:creator>
      <dc:date>2015-03-23T11:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: search.findNode to get noderef from path giving null everytim</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-to-get-noderef-from-path-giving-null-everytim/m-p/302403#M255533</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;SPAN&gt;I would appreciate it somebody provide an answer to the following issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to search in a particular path using document id but unfortunately&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was only able to perform search if a document is placed under "myfile"(workspace://spacesstore) in share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I try searching in path workspace://spacesstore/MYDIR then fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marios&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 06:50:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-findnode-to-get-noderef-from-path-giving-null-everytim/m-p/302403#M255533</guid>
      <dc:creator>mariosso</dc:creator>
      <dc:date>2016-05-19T06:50:08Z</dc:date>
    </item>
  </channel>
</rss>

