<?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 on a specific space using webscripts in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178400#M131530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This should help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search#Path_Queries" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search#Path_Queries&lt;/A&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>Mon, 01 Sep 2008 15:17:41 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2008-09-01T15:17:41Z</dc:date>
    <item>
      <title>Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178397#M131527</link>
      <description>Hi All,When i search the contents in alfresco using webscripts, i got the results very well. However when i tried to search the content in a specific space or from a specif folder i got the error. Can anyone help me out to solve this issues ?Thanks in advance.RegardsElavarasan N.</description>
      <pubDate>Mon, 01 Sep 2008 07:05:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178397#M131527</guid>
      <dc:creator>en64026</dc:creator>
      <dc:date>2008-09-01T07:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178398#M131528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would be useful to know what the error is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 07:29:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178398#M131528</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-09-01T07:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178399#M131529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank for your reply mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly tell me how to do a specific space serach in alfresco either by using webscripts or otherways.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Elavarasan N.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 11:07:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178399#M131529</guid>
      <dc:creator>en64026</dc:creator>
      <dc:date>2008-09-01T11:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178400#M131530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This should help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search#Path_Queries" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search#Path_Queries&lt;/A&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>Mon, 01 Sep 2008 15:17:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178400#M131530</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-09-01T15:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178401#M131531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried the link which you sent to me. I got the error while i tried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What i did is siply write a .js file as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// check that search term has been provided&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (args.q == undefined || args.q.length == 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; status.code = 400;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; status.message = "Search term has not been provided.";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; status.redirect = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; // perform search&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var nodes = search.luceneSearch("PATH:/Company_Home&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;ata_Dictionary/*" + args.q);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; model.resultset = nodes;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and using the "&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/sample/blog/search?q=books" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/sample/blog/search?q=books&lt;/A&gt;&lt;SPAN&gt;" to access the webscript. I dint get any output with this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What exactly i need is, lets have 3 workspaces inside the "company home" space named namespace1, namespace2, namespace3 . I need the contents inside the namespace1 to be displayed with respect to the keyword i give in the url ("books" in this case). The contents from the namespace2 &amp;amp; 3 can not be displayed even these have the same named content inside it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly clarify this mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Elavarasan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2008 10:21:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178401#M131531</guid>
      <dc:creator>en64026</dc:creator>
      <dc:date>2008-09-02T10:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178402#M131532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly help me out in the below issue……… i am struggling a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i am using the following script to search with in the specific namespace (That is under company home space there is a space called Test, Test is my target search namespace).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// check that search term has been provided&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (args.q == undefined || args.q.length == 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; status.code = 400;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; status.message = "Search term has not been provided.";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; status.redirect = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; // perform search&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var nodes = search.luceneSearch("PATH:\"/company_home/Test\"TEXT:" + args.q);&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; model.resultset = nodes;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when i searching the content i got the result from the other namespaces also……….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kidly help me out in this issue…………&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you friends……….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Elavarasan N.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 05:49:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178402#M131532</guid>
      <dc:creator>en64026</dc:creator>
      <dc:date>2008-09-08T05:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178403#M131533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lucene searches OR the terms - you need to add a + in front of each one so the behaviour is AND instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Out-of-the-box webscripts are a great resource for learning about Lucene search queries, as is seeing what the JSF Web Client generates from the Advanced Search UI. See &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=8677" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=8677&lt;/A&gt;&lt;SPAN&gt; for tips here.&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>Mon, 08 Sep 2008 08:32:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178403#M131533</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-09-08T08:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178404#M131534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi friends&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried with the below code to search on the specific space. As Mr.Elavarasan said it brings&amp;nbsp; all the contents irrespective of the name space which i gave. It doesnot pointing to the path which i set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt; var nodes = search.luceneSearch("PATH:\"/company_home/Intranet\"TEXT:" + args.q);&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i use the below query also i am getting the same result as i got from the above. &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt; var nodes = search.luceneSearch("TEXT:" + args.q);&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i give '+'&amp;nbsp; before the path it displays nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt; var nodes = search.luceneSearch("+PATH:\"/company_home/Intranet\"TEXT:" + args.q);&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly clarify this one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its very urgent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vinoth.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 12:22:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178404#M131534</guid>
      <dc:creator>yvinodh</dc:creator>
      <dc:date>2008-09-09T12:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178405#M131535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Turn on lucene query debugging, it is a very efficient way of learning how to form queries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;log4j.logger.no.akofs.constraints.LuceneSearchBasedListConstraint=debug&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var nodes = search.luceneSearch("+PATH:\"/company_home/Intranet//*\" +TEXT:" + args.q);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;might work, not sure of your intentions with the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//Peter Löfgren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 12:51:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178405#M131535</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2008-09-09T12:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178406#M131536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oops, sorry, wrong debug line&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this is the one I intended to paste&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;log4j.logger.org.alfresco.web.bean.SearchContext=debug&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 12:52:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178406#M131536</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2008-09-09T12:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178407#M131537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to search a keyword from the &lt;/SPAN&gt;&lt;STRONG&gt;specific name space&lt;/STRONG&gt;&lt;SPAN&gt; which is under the &lt;/SPAN&gt;&lt;STRONG&gt;company home&lt;/STRONG&gt;&lt;SPAN&gt; name space. can anyone send me a example code to search from a specific name space ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance………..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Elavarasan N.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 06:21:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178407#M131537</guid>
      <dc:creator>en64026</dc:creator>
      <dc:date>2008-09-10T06:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178408#M131538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi friends&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly clarify this doubt……….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i try to search contents by their mime types (pdf.ppt,doc etc.,) i get the error……………&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the following code……….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;var whitepapers = search.luceneSearch("PATH:\"/company_home.//*\"+@cm\:abstract.mimetype:"text/plain");&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly clarify this one……………&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If any one having example to retrieve contents by their mime types kindly share with me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you friends…………..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Elavarasan N.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2008 04:45:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178408#M131538</guid>
      <dc:creator>en64026</dc:creator>
      <dc:date>2008-09-13T04:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178409#M131539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to run a script so that i can get the number of files in&amp;nbsp; a particular space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ww want another script so that when i ran that on a space,it should give the&amp;nbsp; last update date of all the documents&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in Advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Archana&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 06:56:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178409#M131539</guid>
      <dc:creator>archana_bonkanp</dc:creator>
      <dc:date>2008-09-15T06:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178410#M131540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the below query to get the files based on their MIME types. I dint get any error but i can not get the result also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are files in the .pdf format but it is not displayed as results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly help me out in this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var whitepapers = search.luceneSearch("PATH:\"/company_home.//*\"" + "@cm\abstract:mimetype:" + "application/pdf");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Elavarasan N.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 14:10:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178410#M131540</guid>
      <dc:creator>en64026</dc:creator>
      <dc:date>2008-09-15T14:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178411#M131541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The below query is working……… Its is give the results as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We can search the documents in the particular mimwtype using this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;search.luceneSearch('+PATH:"/app:company_home//*" +@\\{http\\://&lt;A href="http://www.alfresco.org/model/content/1.0\\}content.mimetype:text/plain" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\\}content.mimetype:text/plain&lt;/A&gt;');&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Elavarasan N.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 05:49:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178411#M131541</guid>
      <dc:creator>en64026</dc:creator>
      <dc:date>2008-10-10T05:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178412#M131542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Elavaran,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Could you please help me in getting the Content using Alfresco WebScripts?Its very urgent requirement for us.I have gone throufgh the examples but couldnt find any specfic API to fetch the content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Radhika&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 12:37:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178412#M131542</guid>
      <dc:creator>radhika</dc:creator>
      <dc:date>2008-10-24T12:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178413#M131543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API#ScriptNode_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API#ScriptNode_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 16:19:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178413#M131543</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-10-24T16:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178414#M131544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to display all files found on a specific space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have followed all the steps that everyone stated but still nothing is displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The lucene call I'm using is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var nodes = search.luceneSearch("+PATH:\"/Company Home/Projects/Training/*\"+TEXT:hello");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using this path as I want to do a full text search across all spaces and content that lie under the Training space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From the web client UI my path to the space i require to do this search in is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Company Home/Projects/Training/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please advise me what I'm doing wrong here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerrit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 17:19:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178414#M131544</guid>
      <dc:creator>gerrit</dc:creator>
      <dc:date>2009-02-06T17:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178415#M131545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lucene requires QName paths, not named paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use named paths in &lt;/SPAN&gt;&lt;STRONG&gt;node.childByNamePath&lt;/STRONG&gt;&lt;SPAN&gt;. See &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/3.0_JavaScript_API#ScriptNode_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/3.0_JavaScript_API#ScriptNode_API&lt;/A&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>Tue, 10 Feb 2009 10:32:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178415#M131545</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-02-10T10:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Search on a specific space using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178416#M131546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the solution that works perfectly if anyone is still struggling..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var nodes = search.luceneSearch("+PATH:\"/Company Home/Projects/Training/*\"+TEXT:hello");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as stated previously&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var nodes = search.luceneSearch("+PATH:\"/app:company_home/cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rojects/cm:Training//*\"+TEXT:hello");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As said before, luceneSearch uses QName paths not named paths. Thanks Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerrit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 10:08:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-a-specific-space-using-webscripts/m-p/178416#M131546</guid>
      <dc:creator>gerrit</dc:creator>
      <dc:date>2009-02-11T10:08:04Z</dc:date>
    </item>
  </channel>
</rss>

