Platform Explorer / server 10.10

Contribution org.nuxeo.ecm.platform.suggestbox.core.defaultSuggesters--suggesters

This contribution is part of XML component org.nuxeo.ecm.platform.suggestbox.core.defaultSuggesters inside nuxeo-platform-suggestbox-core-10.10.jar /OSGI-INF/suggestbox-suggesters-contrib.xml

Extension point

Extension point suggesters of component SuggestionService.

Contributed items

  • <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentLookupSuggester" name="documentLookupByTitle">
          <parameters>
            <parameter name="providerName">DEFAULT_DOCUMENT_SUGGESTION</parameter>
            <parameter name="highlightFields">dc:title.fulltext,ecm:binarytext,dc:description.fulltext,ecm:tag,note:note.fulltext,file:content.name</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>

XML source

<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>
        <parameter name="highlightFields">dc:title.fulltext,ecm:binarytext,dc:description.fulltext,ecm:tag,note:note.fulltext,file:content.name</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>