Platform Explorer / Nuxeo Platform 5.6

Extension point suggesters

Extension point for registering named suggester implementations and their parameters.

Suggester implementations should implement the "org.nuxeo.ecm.platform.suggestbox.service.Suggester" interface.

Contribution Descriptor

Existing Contributions

  • nuxeo-platform-suggestbox-core-5.6.jar
    <extension point="suggesters" target="org.nuxeo.ecm.platform.suggestbox.service.SuggestionService">
    
        <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentLookupSuggester" name="documentLookupByTitle">
          <parameters>
            <parameter name="providerName">DEFAULT_DOCUMENT_SUGGESTION</parameter>
          </parameters>
        </suggester>
    
        <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByPropertySuggester" name="searchByKeywords">
          <parameters>
            <parameter name="label">label.searchDocumentsByKeyword</parameter>
            <parameter name="searchField">fsd:ecm_fulltext</parameter>
            <parameter name="iconURL">/img/facetedSearch.png</parameter>
            <parameter name="description"/>
            <parameter name="disabled">false</parameter>
          </parameters>
        </suggester>
    
        <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByDateSuggester" name="searchByDate">
          <parameters>
            <parameter name="searchFields">fsd:dc_created,fsd:dc_modified</parameter>
            <parameter name="iconURL">/img/facetedSearch.png</parameter>
          </parameters>
        </suggester>
    
        <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.UserGroupLookupSuggester" name="searchByUsersAndGroups">
          <parameters>
            <parameter name="userSuggestionsLimit">5</parameter>
            <parameter name="groupSuggestionsLimit">5</parameter>
            <parameter name="searchFields">fsd:dc_creator</parameter>
          </parameters>
        </suggester>
    
      </extension>