<?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: Override the faceted_search_default to modify the default search form ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/override-the-faceted-search-default-to-modify-the-default-search/m-p/314069#M1070</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I find a solution :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;via Studio : creation of a new faceted search&lt;/LI&gt;
&lt;LI&gt;in the nuxeo instance : deactivation of the default faceted search in the local configuration of the domain&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;By&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2014 18:42:48 GMT</pubDate>
    <dc:creator>SylvainD_</dc:creator>
    <dc:date>2014-02-25T18:42:48Z</dc:date>
    <item>
      <title>Override the faceted_search_default to modify the default search form ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/override-the-faceted-search-default-to-modify-the-default-search/m-p/314068#M1069</link>
      <description>&lt;P&gt;Hi,
I would like to override the faceted_search_default to delete 2 fields (dc:coverage and dc:subjects).
I try to do that in Studio via a xml extension point but it don't work at all.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService" point="contentViews"&amp;gt;
    &amp;lt;contentView name="faceted_search_default"&amp;gt;
    &amp;lt;title&amp;gt;label.faceted.search.default&amp;lt;/title&amp;gt;
    &amp;lt;translateTitle&amp;gt;true&amp;lt;/translateTitle&amp;gt;
 
    &amp;lt;coreQueryPageProvider&amp;gt;
      &amp;lt;property name="coreSession"&amp;gt;#{documentManager}&amp;lt;/property&amp;gt;
      &amp;lt;whereClause docType="FacetedSearchDefault"&amp;gt;
        &amp;lt;fixedPart&amp;gt;
          ecm:mixinType != 'HiddenInNavigation' AND
          ecm:mixinType != 'HiddenInFacetedSearch' AND ecm:isCheckedInVersion = 0
          AND ecm:currentLifeCycleState != 'deleted'
        &amp;lt;/fixedPart&amp;gt;
        &amp;lt;predicate parameter="ecm:fulltext" operator="FULLTEXT"&amp;gt;
          &amp;lt;field schema="faceted_search_default" name="ecm_fulltext" /&amp;gt;
        &amp;lt;/predicate&amp;gt;
        &amp;lt;predicate parameter="dc:created" operator="BETWEEN"&amp;gt;
          &amp;lt;field schema="faceted_search_default" name="dc_created_min" /&amp;gt;
          &amp;lt;field schema="faceted_search_default" name="dc_created_max" /&amp;gt;
        &amp;lt;/predicate&amp;gt;
        &amp;lt;predicate parameter="dc:modified" operator="BETWEEN"&amp;gt;
          &amp;lt;field schema="faceted_search_default" name="dc_modified_min" /&amp;gt;
          &amp;lt;field schema="faceted_search_default" name="dc_modified_max" /&amp;gt;
        &amp;lt;/predicate&amp;gt;
        &amp;lt;predicate parameter="dc:creator" operator="IN"&amp;gt;
          &amp;lt;field schema="faceted_search_default" name="dc_creator" /&amp;gt;
        &amp;lt;/predicate&amp;gt;
		
        &amp;lt;predicate parameter="ecm:path" operator="STARTSWITH"&amp;gt;
          &amp;lt;field schema="faceted_search_default" name="ecm_path" /&amp;gt;
        &amp;lt;/predicate&amp;gt;
      &amp;lt;/whereClause&amp;gt;
      &amp;lt;sort column="dc:title" ascending="true" /&amp;gt;
      &amp;lt;pageSize&amp;gt;20&amp;lt;/pageSize&amp;gt;
    &amp;lt;/coreQueryPageProvider&amp;gt;
 
    &amp;lt;searchLayout name="faceted_search_default" /&amp;gt;
 
    &amp;lt;useGlobalPageSize&amp;gt;true&amp;lt;/useGlobalPageSize&amp;gt;
    &amp;lt;refresh&amp;gt;
      &amp;lt;event&amp;gt;documentChanged&amp;lt;/event&amp;gt;
      &amp;lt;event&amp;gt;documentChildrenChanged&amp;lt;/event&amp;gt;
    &amp;lt;/refresh&amp;gt;
    &amp;lt;cacheKey&amp;gt;only_one_cache&amp;lt;/cacheKey&amp;gt;
    &amp;lt;cacheSize&amp;gt;1&amp;lt;/cacheSize&amp;gt;
 
    &amp;lt;resultLayouts&amp;gt;
      &amp;lt;layout name="document_virtual_navigation_listing_ajax"
        title="document_listing" translateTitle="true"
        iconPath="/icons/document_listing_icon.png" /&amp;gt;
    &amp;lt;/resultLayouts&amp;gt;
 
    &amp;lt;selectionList&amp;gt;CURRENT_SELECTION&amp;lt;/selectionList&amp;gt;
    &amp;lt;actions category="CURRENT_SELECTION_LIST" /&amp;gt;
 
    &amp;lt;flags&amp;gt;
      &amp;lt;flag&amp;gt;FACETED_SEARCH&amp;lt;/flag&amp;gt;
    &amp;lt;/flags&amp;gt;   &amp;lt;/contentView&amp;gt;   &amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks for idea&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2014 08:38:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/override-the-faceted-search-default-to-modify-the-default-search/m-p/314068#M1069</guid>
      <dc:creator>SylvainD_</dc:creator>
      <dc:date>2014-02-25T08:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Override the faceted_search_default to modify the default search form ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/override-the-faceted-search-default-to-modify-the-default-search/m-p/314069#M1070</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I find a solution :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;via Studio : creation of a new faceted search&lt;/LI&gt;
&lt;LI&gt;in the nuxeo instance : deactivation of the default faceted search in the local configuration of the domain&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;By&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2014 18:42:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/override-the-faceted-search-default-to-modify-the-default-search/m-p/314069#M1070</guid>
      <dc:creator>SylvainD_</dc:creator>
      <dc:date>2014-02-25T18:42:48Z</dc:date>
    </item>
  </channel>
</rss>

