<?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 content in specific folder in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215465#M168595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This just isn't giving me the kind of results I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want to do is search only files the folder&amp;nbsp; '/Company Home/Fall and Associates/Creditors/TT900/' for the string "in other baskets".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the folder&amp;nbsp; '/Company Home/Fall and Associates/Creditors/TT900/' are two files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One is a copy of the other.&amp;nbsp; They both contain the string "in other baskets"&amp;nbsp; – they both should match this search.&amp;nbsp; I've added no other files to the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;I should find both files – but I don't.&lt;/STRONG&gt;&lt;SPAN&gt; In addition, despite the '+PATH:' I am getting the script itself returned as a result (it's under '…/Data Dictionary /Web Script Extensions/…')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var query = "+PATH:\"/app:company_home"+"/cm:"+search.ISO9075Encode("Fall And Associates") + "/cm:"+search.ISO9075Encode("Creditors")+"/cm:"+search.ISO9075Encode("TT900") +"//*\" +TEXT:\"in other baskets\" ";&lt;BR /&gt;&lt;BR /&gt;var results = search.luceneSearch(query);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the result&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;lt;items&amp;gt;&lt;BR /&gt;−&lt;BR /&gt;&amp;lt;item&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;Duplicate2 of Kiva.pdf&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;number 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;size&amp;gt; 94,176 &amp;lt;/size&amp;gt;&lt;BR /&gt;&amp;lt;author&amp;gt;billmc&amp;lt;/author&amp;gt;&lt;BR /&gt;&amp;lt;/item&amp;gt;&lt;BR /&gt;−&lt;BR /&gt;&amp;lt;item&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;searchDocs.get.js&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;size&amp;gt; 1,708 &amp;lt;/size&amp;gt;&lt;BR /&gt;&amp;lt;author&amp;gt;admin&amp;lt;/author&amp;gt;&lt;BR /&gt;&amp;lt;/item&amp;gt;&lt;BR /&gt;&amp;lt;/items&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The 'searchDocs.get.js' is the name of the script (based on the Packt Book by Shariff in company). It should NOT be returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Missing is the expected 'Duplicate1 of Kiva.pdf' which is identitical (a copy) of the file returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Is this lucene search syntax correct for what I'm trying to do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Why do I keep getting matches from outside the PATH setting?&amp;nbsp; How can I stop that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Why do both results get returned (along with Alfresco system files of various kinds) when I do the search from the webclient … but only one is returned in the webscript?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Is there another way, besides lucene to do this?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should add that this is on Community Edition 3.3 which we're using to evaluate Alfresco's suitability in our company. Search is obviously a huge factor in our evaluation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Apr 2010 13:44:40 GMT</pubDate>
    <dc:creator>billmce</dc:creator>
    <dc:date>2010-04-29T13:44:40Z</dc:date>
    <item>
      <title>Search content in specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215458#M168588</link>
      <description>I've read the Search page on the wiki, I've searched the forums, I've read lucene documentation, I've read XPATH documentation … but the solution to this problem escapes me.I have folders in Alfresco laid out as:Company Home|……………….|……………….|Client Name|……………………………..|……………………………..|Accounting………………………</description>
      <pubDate>Wed, 28 Apr 2010 12:57:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215458#M168588</guid>
      <dc:creator>billmce</dc:creator>
      <dc:date>2010-04-28T12:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search content in specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215459#M168589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to encode in ISO9075 each space name, in this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var query = "PATH:\"/app:company_home"&lt;BR /&gt;+"/cm:"+search.ISO9075Encode("Client Name")&lt;BR /&gt;+"/cm:"+search.ISO9075Encode("Human Resources")+"//*\" +TEXT:\"searchString\" ";&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;You can find this reference here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/3.2_JavaScript_API#Search_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/3.2_JavaScript_API#Search_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 13:15:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215459#M168589</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2010-04-28T13:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search content in specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215460#M168590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you … I had danced all around that solution without hitting it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate you taking the time to give such a thorough solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 14:16:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215460#M168590</guid>
      <dc:creator>billmce</dc:creator>
      <dc:date>2010-04-28T14:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Search content in specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215461#M168591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Having past a major hurdle, I've got a little bit of work to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found that the lucene search is searching within the 'Data Dictionary'.&amp;nbsp; My web scripts are in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Company Home / Data Dictionary / Web Script Extensions / com / mycompany&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;During testing, I hard coded the search string.&amp;nbsp; To my surprise, in the results returned from the search was my javascript file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why is it searching outside the specified path? … and how can I stop it from searching outside the specified path?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 14:53:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215461#M168591</guid>
      <dc:creator>billmce</dc:creator>
      <dc:date>2010-04-28T14:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Search content in specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215462#M168592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You've currently got PATH as an optional search term - add a "+" in front, as you have for TEXT.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 15:03:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215462#M168592</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-04-28T15:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Search content in specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215463#M168593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I add the + I get no results at all … I'm certain that there are multiple files matching 'searchString' in the folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/ Company Home / Client Name / Human Resources&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var query = "+PATH:\"/app:company_home"&lt;BR /&gt;+"/cm:"+search.ISO9075Encode("Client Name")&lt;BR /&gt;+"/cm:"+search.ISO9075Encode("Human Resources")+"//*\" +TEXT:\"searchString\" ";&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Community Edition 3.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help very much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 15:53:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215463#M168593</guid>
      <dc:creator>billmce</dc:creator>
      <dc:date>2010-04-28T15:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search content in specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215464#M168594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Probably it could be a wrong setting of mimetype: can you check if all the files in that space have a correct value for the mimetype property?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From the node browser you have to check the content property in the properties section.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 06:32:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215464#M168594</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2010-04-29T06:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Search content in specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215465#M168595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This just isn't giving me the kind of results I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want to do is search only files the folder&amp;nbsp; '/Company Home/Fall and Associates/Creditors/TT900/' for the string "in other baskets".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the folder&amp;nbsp; '/Company Home/Fall and Associates/Creditors/TT900/' are two files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One is a copy of the other.&amp;nbsp; They both contain the string "in other baskets"&amp;nbsp; – they both should match this search.&amp;nbsp; I've added no other files to the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;I should find both files – but I don't.&lt;/STRONG&gt;&lt;SPAN&gt; In addition, despite the '+PATH:' I am getting the script itself returned as a result (it's under '…/Data Dictionary /Web Script Extensions/…')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var query = "+PATH:\"/app:company_home"+"/cm:"+search.ISO9075Encode("Fall And Associates") + "/cm:"+search.ISO9075Encode("Creditors")+"/cm:"+search.ISO9075Encode("TT900") +"//*\" +TEXT:\"in other baskets\" ";&lt;BR /&gt;&lt;BR /&gt;var results = search.luceneSearch(query);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the result&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;lt;items&amp;gt;&lt;BR /&gt;−&lt;BR /&gt;&amp;lt;item&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;Duplicate2 of Kiva.pdf&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;number 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;size&amp;gt; 94,176 &amp;lt;/size&amp;gt;&lt;BR /&gt;&amp;lt;author&amp;gt;billmc&amp;lt;/author&amp;gt;&lt;BR /&gt;&amp;lt;/item&amp;gt;&lt;BR /&gt;−&lt;BR /&gt;&amp;lt;item&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;searchDocs.get.js&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;size&amp;gt; 1,708 &amp;lt;/size&amp;gt;&lt;BR /&gt;&amp;lt;author&amp;gt;admin&amp;lt;/author&amp;gt;&lt;BR /&gt;&amp;lt;/item&amp;gt;&lt;BR /&gt;&amp;lt;/items&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The 'searchDocs.get.js' is the name of the script (based on the Packt Book by Shariff in company). It should NOT be returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Missing is the expected 'Duplicate1 of Kiva.pdf' which is identitical (a copy) of the file returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Is this lucene search syntax correct for what I'm trying to do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Why do I keep getting matches from outside the PATH setting?&amp;nbsp; How can I stop that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Why do both results get returned (along with Alfresco system files of various kinds) when I do the search from the webclient … but only one is returned in the webscript?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Is there another way, besides lucene to do this?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should add that this is on Community Edition 3.3 which we're using to evaluate Alfresco's suitability in our company. Search is obviously a huge factor in our evaluation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 13:44:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215465#M168595</guid>
      <dc:creator>billmce</dc:creator>
      <dc:date>2010-04-29T13:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Search content in specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215466#M168596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Simplifying a bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This doesn't return all the files .. and it seems to drop files now and then as I change the contents of the folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var query = "+PATH:\"/app:company_home"+"/cm:"+search.ISO9075Encode("Fall And Associates") + "/cm:"+search.ISO9075Encode("Creditors")+"/cm:"+search.ISO9075Encode("TT900") +"//*\"";&lt;BR /&gt;&lt;BR /&gt;var results = search.luceneSearch(query);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 3 copies of the same file in this folder … it only returns two of them.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I've got something somewhere eating the first result?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's going on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What would be the simplest way for me to see the result as far as a ftl file goes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 14:51:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215466#M168596</guid>
      <dc:creator>billmce</dc:creator>
      <dc:date>2010-04-29T14:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Search content in specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215467#M168597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's what it is … I've got some problem in my xml.ftl file that is eating a result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My html.ftl file returns the correct output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the patience.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 15:55:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-content-in-specific-folder/m-p/215467#M168597</guid>
      <dc:creator>billmce</dc:creator>
      <dc:date>2010-04-29T15:55:37Z</dc:date>
    </item>
  </channel>
</rss>

