<?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: Javascript Lucene Search on folder in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224612#M177742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone have a solution for this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have exactly the same problem, i need to do a lucene search in a specific space… When the name (of the space) contains whitespace i get no results. I tried to escape the whitespace with \ but it doesn't help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works perfect for spaces like: Applications, Sites, Archive -&amp;nbsp; PATH:"//cm:Applications/*"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When search in Customer Documents or. Guest Home i get no results….&amp;nbsp; - PATH:"//cm:Customer Documents/*"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanx for help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jul 2010 08:12:14 GMT</pubDate>
    <dc:creator>grob</dc:creator>
    <dc:date>2010-07-06T08:12:14Z</dc:date>
    <item>
      <title>Javascript Lucene Search on folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224609#M177739</link>
      <description>Hey guys, i have a problem on lucene search, I want get all documents from a folder called Customer Care under Company Home by luceneSearch in javascript :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; search.luceneSearch ("+PATH:\"/app:company_home/cm:Customer_Care/*\"");&amp;nbsp; does not work, returns nothing ….I tried many different ways in thi</description>
      <pubDate>Wed, 10 Mar 2010 19:20:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224609#M177739</guid>
      <dc:creator>yteng</dc:creator>
      <dc:date>2010-03-10T19:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Lucene Search on folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224610#M177740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to encode the string in the PATH token using the ISO9075 encoding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In Javascript you can use a specific method that you can invoke from the search object, in the following way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var queryEncoded = search.ISO9075Encode("/app:company_home/cm:Customer_Care/*");&lt;BR /&gt;var results = search.luceneSearch(queryEncoded);&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 11:20:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224610#M177740</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2010-03-12T11:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Lucene Search on folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224611#M177741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You so much for your reply OpenPj &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may misunderstood my problem: LucnenSearch does not work if the folder name contains blank space.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and I figured out that in the luceneSearch path, replace the space with "_0020_", then it works!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 19:50:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224611#M177741</guid>
      <dc:creator>yteng</dc:creator>
      <dc:date>2010-04-01T19:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Lucene Search on folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224612#M177742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone have a solution for this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have exactly the same problem, i need to do a lucene search in a specific space… When the name (of the space) contains whitespace i get no results. I tried to escape the whitespace with \ but it doesn't help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works perfect for spaces like: Applications, Sites, Archive -&amp;nbsp; PATH:"//cm:Applications/*"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When search in Customer Documents or. Guest Home i get no results….&amp;nbsp; - PATH:"//cm:Customer Documents/*"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanx for help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 08:12:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224612#M177742</guid>
      <dc:creator>grob</dc:creator>
      <dc:date>2010-07-06T08:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Lucene Search on folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224613#M177743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lol&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to use ISO9075Encode, but like this: PATH:"//cm: search.ISO9075Encode(Customer Documents)/*"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 08:46:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224613#M177743</guid>
      <dc:creator>grob</dc:creator>
      <dc:date>2010-07-06T08:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Lucene Search on folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224614#M177744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As openPJ and grob has said you should use the ISO9075 encoding when using lucene searches in javascript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the other hand, the underscore shouldn't be a problem to that, so it may be that you'll have to reindex your lucene indexes. For that purpose edit the alfresco-global.properties file and uncomment the next line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;index.recovery.mode=FULL&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;then try it again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 09:12:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224614#M177744</guid>
      <dc:creator>fstnboy</dc:creator>
      <dc:date>2010-07-06T09:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Lucene Search on folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224615#M177745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;fstnboy, thnx for the hint. I'll try it out!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 09:02:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-lucene-search-on-folder/m-p/224615#M177745</guid>
      <dc:creator>grob</dc:creator>
      <dc:date>2010-07-07T09:02:18Z</dc:date>
    </item>
  </channel>
</rss>

