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

Tagging

Chris Park edited this page May 4, 2018 · 7 revisions

diskover-web has a built-in tagging system for tagging both files and directories. Standard tags are "delete", "archive", "keep", and "untagged". When files are indexed they are untagged (tag and tag_custom fields are empty).

Custom tags can be added/edited on the Admin page and colors can be set using hex color codes for each Custom tag. Custom tags are stored in customtags.txt in the web document root. The user running diskover-web will need r/w permissions for this file.

custom tag name|hexcolor

for example:

fast storage|red

or

slow storage|#cccccc

https://www.w3schools.com/colors/colors_picker.asp

To tag a file or directory, perform a search and on the results page each file/directory will have a tag button with drop down menu where you can tag the file with both regular and custom tags. Removing tags is also done on the tag drop down menu.

You could also use the diskover-web REST API to perform tagging in bulk.

Tags are stored in Elasticsearch for each file/directory doc in their tag and tag_custom fields.

Clone this wiki locally