<?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 Search faceting and highlighting in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-faceting-and-highlighting/m-p/271002#M224132</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;BR /&gt;&lt;SPAN&gt;I am trying to implement search faceting and highlighting within Alfresco Share.&amp;nbsp; My initial thoughts are,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1, switch search to solr sub-system which can enable faceting (there has API to add facet fields to SearchParameters before starting searchService.query() method) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2, because the content must be stored in index, I can add an customized field MYCONTENT to index. This can be archived by customizing ADMLuceneIndexerImpl and AVMLuceneIndexerImpl&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3, I can access SOLR instance via solrj APIs. Here I can control almost anything like hightling , faceting or filtering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4, I also can customize the scriptable Search (org.alfresco.repo.jscript.Search) to call my search method which has implemented in step 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5, I can add highlighting and faceting results to response JSON data. this can be done by customizing search.get.json.ftl&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6, If everything goes ok, I can add the returned facets and highlighting results to the web page by customizing search.get.html.ftl and search.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I spent 4+ days on this and tried some tests. But I didn't get the result I want yet. here are the problems I got,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1, I added a multi-valued MYCONTENT field to the index but I cannot see it while checking solr index schema&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2, I cannot get any result when I switched to SOLR sub-system. But when search using lucene sub-system I can get results from Datalist, WIKI page, documents etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3, I also cannot get any result from solrj APIs. And there has no NODEREF field in the index so I have to find a way to build NodeRef from raw index record. It seems not easy. Or I have to store the NODEREF to index directly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have experience to do implement this kind of features? Any suggestions will be appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My Alfresco version is 4.0.c CE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Jul 2012 05:59:42 GMT</pubDate>
    <dc:creator>alex_chew</dc:creator>
    <dc:date>2012-07-29T05:59:42Z</dc:date>
    <item>
      <title>Search faceting and highlighting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-faceting-and-highlighting/m-p/271002#M224132</link>
      <description>Hi,I am trying to implement search faceting and highlighting within Alfresco Share.&amp;nbsp; My initial thoughts are,1, switch search to solr sub-system which can enable faceting (there has API to add facet fields to SearchParameters before starting searchService.query() method) 2, because the content must</description>
      <pubDate>Sun, 29 Jul 2012 05:59:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-faceting-and-highlighting/m-p/271002#M224132</guid>
      <dc:creator>alex_chew</dc:creator>
      <dc:date>2012-07-29T05:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Search faceting and highlighting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-faceting-and-highlighting/m-p/271003#M224133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Alex,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I included some Solr/Alfresco pointers to your other post (recent Solr Tech Talk Live among others).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the link for other users interested in Alfresco Solr integration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=6&amp;amp;t=45725#p135110" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=6&amp;amp;t=45725#p135110&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Aug 2012 08:16:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-faceting-and-highlighting/m-p/271003#M224133</guid>
      <dc:creator>arnoldschrijve1</dc:creator>
      <dc:date>2012-08-05T08:16:41Z</dc:date>
    </item>
  </channel>
</rss>

