Documentation
¶
Index ¶
- Variables
- func AddToIndex(entry models.MediaEntry, docID *string) (*models.ESTXResponse, error)
- func DeleteAll() error
- func DeleteFromIndex(docID string) (*models.ESTXResponse, error)
- func FindByType(id int, objectTypeID ObjectID, pagination shared.Pagination) (*[]models.ESHit, error)
- func FindDoc(docID string) (*models.MediaEntry, error)
- func FindNextMediaIDInResource(resourceID int) (*int, error)
- func KeywordSearch(query string) (*[]models.ESHit, error)
- func Reindex() error
- type ObjectID
Constants ¶
This section is empty.
Variables ¶
View Source
var ObjectIds = map[ObjectID]string{ Repository: "repository_id", Resource: "resource_id", Accession: "accession_id", }
Functions ¶
func AddToIndex ¶
func AddToIndex(entry models.MediaEntry, docID *string) (*models.ESTXResponse, error)
func DeleteFromIndex ¶
func DeleteFromIndex(docID string) (*models.ESTXResponse, error)
func FindByType ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.