Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Adding extra fields

Chris Park edited this page Nov 12, 2017 · 8 revisions

If you want to display extra custom diskover index fields (created from diskover plugins) in the search results page and file info page, edit EXTRA_FIELDS in diskover-web config in src/diskover/Constants.php:

// additional custom ES fields to display in search results
const EXTRA_FIELDS = "";  // ['md5_checksum' => 'MD5 Checksum']

['es_fieldname => 'description', 'es_fieldname' => 'description']

Clone this wiki locally