Documentation ¶
Index ¶
- func DeleteFromElasticSearch(work string, collection string, pid string, doctype string)
- func GetCollectionTitleFromES(id string) string
- func GetESLogFromDmdsec(nonModsDmdsecIDs []string, logDivList []types.Div, metsHdr types.MetsHdr, ...) (map[string]types.ESLog, string)
- func GetESLogFromES(id string, ccontext string) (map[string]types.ESLog, error)
- func GetESPhysFromPhysStructMap(physicalIDToAttrMap map[string]types.PhysicalAttributes, ...) map[string]types.ESPhys
- func GetESPyhsFromES(id string, ccontext string) (map[string]types.ESPhys, error)
- func GetExportDataFromElastictSearch(citationData types.ExportWork) (types.ExportData, error)
- func GetExportDataFromEsLog(esLog types.ESLog) (types.ExportData, error)
- func GetExportDataFromIndex(citationData types.ExportWork) types.ExportData
- func GetExportDataFromSolrGDZ(citationData types.ExportWork) (types.ExportData, error)
- func GetExportDataFromSolrNLH(citationData types.ExportWork) (types.ExportData, error)
- func GetPIDForWorkidFromIndex(workid string) (string, error)
- func GetPIDForWorkidFromIndex_(workid string) (string, error)
- func GetParentInfoFromES(parentRecordID string) (*types.Parent, error)
- func GetParentInfoFromGDZSolr(parentWorkID string) (*types.Parent, error)
- func GetParentInfoFromNLHSolr(parentWorkID string) (*types.Parent, error)
- func GetPrevPIDsFromES(prevPID string, index string) ([]string, error)
- func GetUpdateDatesFromES(id string, redisClient *redis.Client) (string, string)
- func GetUpdateDatesFromRedis(recordIdentifier string, redisClient *redis.Client) (string, string)
- func GetUpdateDatesFromSolrGDZ(id string, redisClient *redis.Client) (string, string)
- func GetUpdateDatesFromSolrNLH(id string, redisClient *redis.Client) (string, string)
- func ReadFromSolrGDZ(id string) (types.SolrDocGDZ, error)
- func ReadFromSolrNLH(id string) (types.SolrDocNLH, error)
- func WriteToElasticSearch(esDoc types.ESDoc)
- func WriteToGDZIndex(esDoc types.ESDoc)
- func WriteToLogIndex()
- func WriteToNLHIndex(esDoc types.ESDoc)
- func WriteToPhysIndex()
- func WriteToSolr(esDoc types.ESDoc)
- type DeleteAnchorMatch
- type DeleteAnchorQuery
- type DeleteCollection
- type DeletePID
- type DeletePIDMatch
- type DeletePIDQuery
- type DeleteWork
- type DeleteWorkMatch
- type DeleteWorkQuery
- type OldESDatesMsg
- type OldSolrDatesMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFromElasticSearch ¶
DeleteFromElasticSearch ...
func GetCollectionTitleFromES ¶
GetCollectionTitleFromES ...
func GetESLogFromDmdsec ¶
func GetESLogFromDmdsec( nonModsDmdsecIDs []string, logDivList []types.Div, metsHdr types.MetsHdr, dmdsecMap map[string]types.Dmdsec, amdsecMap map[string]types.Amdsec, logToPhysLinkMap map[string]types.LogToPhysLink, physicalIDToAttrMap map[string]types.PhysicalAttributes, useMap map[string]bool, parentInfo *types.Parent, parentDivInfo types.ParentDivInfo, dmdidOfFirstPhysDiv string, dateIndexed string, dateModified string, redisClient *redis.Client, metsObject *types.Mets, prevPIDs []string) (map[string]types.ESLog, string)
GetESLogFromDmdsec ...
func GetESLogFromES ¶
GetESLogFromES ...
func GetESPhysFromPhysStructMap ¶
func GetESPhysFromPhysStructMap( physicalIDToAttrMap map[string]types.PhysicalAttributes, fileIDToAttrMap map[string]types.FileSecAttributes, physToLogLinkMap map[string]types.PhysToLogLink, logToPhysLinkMap map[string]types.LogToPhysLink, esLogMap map[string]types.ESLog, metsObject *types.Mets, redisClient *redis.Client, isExternal bool, firstLog string) map[string]types.ESPhys
GetESPhysFromPhysStructMap ...
func GetESPyhsFromES ¶
GetESPyhsFromES ...
func GetExportDataFromElastictSearch ¶
func GetExportDataFromElastictSearch(citationData types.ExportWork) (types.ExportData, error)
func GetExportDataFromEsLog ¶
func GetExportDataFromEsLog(esLog types.ESLog) (types.ExportData, error)
func GetExportDataFromIndex ¶
func GetExportDataFromIndex(citationData types.ExportWork) types.ExportData
func GetExportDataFromSolrGDZ ¶
func GetExportDataFromSolrGDZ(citationData types.ExportWork) (types.ExportData, error)
func GetExportDataFromSolrNLH ¶
func GetExportDataFromSolrNLH(citationData types.ExportWork) (types.ExportData, error)
func GetPIDForWorkidFromIndex ¶
GetPIDForWorkidFromIndex ...
func GetPIDForWorkidFromIndex_ ¶
GetPIDForWorkidFromIndex_ ...
func GetPrevPIDsFromES ¶
func GetPrevPIDsFromES(prevPID string) (*types.PrevInfo, error) {
func GetUpdateDatesFromES ¶
GetUpdateDatesFromES ...
func GetUpdateDatesFromRedis ¶
GetUpdateDatesFromRedis ...
func GetUpdateDatesFromSolrGDZ ¶
GetUpdateDatesFromSolrGDZ ...
func GetUpdateDatesFromSolrNLH ¶
GetUpdateDatesFromSolrNLH ...
func ReadFromSolrGDZ ¶
func ReadFromSolrGDZ(id string) (types.SolrDocGDZ, error)
ReadFromSolrGDZ ...
func ReadFromSolrNLH ¶
func ReadFromSolrNLH(id string) (types.SolrDocNLH, error)
ReadFromSolrNLH ...
Types ¶
type DeleteAnchorMatch ¶
type DeleteAnchorMatch struct {
DeleteCollection DeleteCollection `json:"match"`
}
DeleteAnchorMatch ...
type DeleteAnchorQuery ¶
type DeleteAnchorQuery struct {
DeleteAnchorMatch DeleteAnchorMatch `json:"query"`
}
DeleteAnchorQuery ...
type DeleteCollection ¶
type DeleteCollection struct {
Collection string `json:"collection.keyword"`
}
DeleteCollection ...
type DeletePIDMatch ¶
type DeletePIDMatch struct {
DeletePID DeletePID `json:"match"`
}
DeletePIDMatch ...
type DeletePIDQuery ¶
type DeletePIDQuery struct {
DeletePIDMatch DeletePIDMatch `json:"query"`
}
DeletePIDQuery ...
type DeleteWorkMatch ¶
type DeleteWorkMatch struct {
DeleteWork DeleteWork `json:"match"`
}
DeleteWorkMatch ...
type DeleteWorkQuery ¶
type DeleteWorkQuery struct {
DeleteWorkMatch DeleteWorkMatch `json:"query"`
}
DeleteWorkQuery ...
type OldESDatesMsg ¶
type OldESDatesMsg struct { ID string `json:"id"` Datemodified string `json:"datemodified,omitempty"` Dateindexed string `json:"dateindexed,omitempty"` }
OldESDatesMsg ...
type OldSolrDatesMsg ¶
type OldSolrDatesMsg struct { RecordIdentifier string `json:"record_identifier,omitempty"` Datemodified string `json:"date_indexed,omitempty"` Dateindexed string `json:"date_modified,omitempty"` }
OldSolrDatesMsg ...
Click to show internal directories.
Click to hide internal directories.