<?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: Lucene query through webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-query-through-webscript/m-p/248768#M201898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andrea,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The javascript wasn't really the problem however figuring out to create the webscript was more my issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2012 09:06:45 GMT</pubDate>
    <dc:creator>mkieboom</dc:creator>
    <dc:date>2012-11-14T09:06:45Z</dc:date>
    <item>
      <title>Lucene query through webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-query-through-webscript/m-p/248766#M201896</link>
      <description>Hi,I was wondering if there is a webscript in Alfresco 4.0.c to execute Lucene query's.Several topics mentioned the possibility to execute querys through the Search API however I want to be able to query Alfresco, get the results (noderef, name, parentfolder, date added, last updated) in xml or json</description>
      <pubDate>Fri, 09 Nov 2012 12:31:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-query-through-webscript/m-p/248766#M201896</guid>
      <dc:creator>mkieboom</dc:creator>
      <dc:date>2012-11-09T12:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene query through webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-query-through-webscript/m-p/248767#M201897</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;according to &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/4.0_JavaScript_API#Search_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/4.0_JavaScript_API#Search_API&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&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;SPAN&gt; you can do something like that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;luceneQuery = "PATH:\"/app:company_home/app:dictionary/app:saved_searches/cm:"+username+"/*\"";&lt;BR /&gt;results&amp;nbsp; = search.luceneSearch(luceneQuery);&lt;SPAN class="line-numbers-rows"&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;where luceneQuery can contain any combination you may want written in lucene query compliant sysntax and results an array od ScriptNode objects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Having the node you can get all information you need and put it in your favourite format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 12:42:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-query-through-webscript/m-p/248767#M201897</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2012-11-09T12:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene query through webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-query-through-webscript/m-p/248768#M201898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andrea,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The javascript wasn't really the problem however figuring out to create the webscript was more my issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 09:06:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-query-through-webscript/m-p/248768#M201898</guid>
      <dc:creator>mkieboom</dc:creator>
      <dc:date>2012-11-14T09:06:45Z</dc:date>
    </item>
  </channel>
</rss>

