Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • data: An array of data to be displayed. Possible values:

    • title: Displays the document title for each result if present

    • url : Displays the url for each result if present

    • logo: Displays the file type logo for each result if present

    • previewButton: Displays the preview button for each result if present

    • extract: Displays the text snippet with highlighting for each result if present

  • folderLinkSource (optional, default is an empty array[] in which case nothing will be displayed) : array of sources to open as a folder. Needs to match with sources declared (case sensitive). For instance, if you have a source named “Enron”, the array should be ["Enron"]

  • folderTarget (optional, default is _blank): target to open folder. Values are the same as the HTML attribute target. The values you can declare mandatorily come from the repo_source solr field, displayed via the source facet field to users.

  • previewTarget (optional, default _self): target to open preview page. Values are the same as the HTML attribute target.

...