Platform Explorer / Nuxeo Platform 5.8

Extension point suggesters

Documentation

Extension point for registering named suggester implementations and their parameters.

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

Contribution Descriptors

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-suggestbox-core-5.8.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>