Skip to main content

Indexd

What Does it Do

Indexd is a core service of the commons. It is used to index files within the commons, to be used by fence to download data.

How to Configure it

For a full set of configuration see the helm README.md for indexd or read the values.yaml directly

indexd:
enabled: true

image:
repository:
tag:

# default prefix that gets added to all indexd records.
defaultPrefix: "TEST/"

# Secrets for fence and sheepdog to use to authenticate with indexd.
# If left blank, will be autogenerated.
secrets:
userdb:
fence:
sheepdog:

Extra Information

Indexd is used to hold information regarding files in the commons. We can index any files we want, but should ensure that bucket in indexd are configured within fence, so that downloading the files will work. To index files We have a variety of tools. First, data upload will automatically create indexd records for files uploaded. If we want to index files from external buckets we can also use indexd-utils, or if the commons has dirm setup, create a manifest and upload it to the /indexing endpoint of a commons. From there GUID's will be created and/or assigned to objects. You can view the information about the records by hitting the (commons url)/index/(GUID) endpoint. To test that the download works for these files you will want to hit the (commons url)/user/data/download/(GUID) endpoint, while ensuring you user has the proper access to the ACL/Authz assigned to the indexd record.