Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAllCitations ¶
func CreateAllCitations() int64
func CreateAllManifests ¶
func CreateAllManifests() int64
func FilePathWalkDir ¶
FilePathWalkDir will retrieve an root path an walks recursively over it an return an array of file path. If Get encounters any errors, it will return an error.
Types ¶
type IndexerJob ¶
type IndexerJob struct { BaseDir string `json:"basedir"` FulltextDir string `json:"fulltextdir"` Document string `json:"document"` // document == ID Context string `json:"context"` Key string `json:"inkey"` Product string `json:"product"` // product == bucket Ftype string `json:"ftype"` // fulltext type HTML, TXT_1, TXT_2, TEI_2 Reindex bool `json:"reindex"` }
IndexerJob ...
type OldSolrDatesMsg ¶
type OldSolrDatesMsg struct { ID string `json:"id"` DateModified string `json:"datemodified,omitempty"` DateIndexed string `json:"dateindexed,omitempty"` }
OldSolrDatesMsg ...
type Params ¶
type Params struct { Q string `json:"q"` Fl string `json:"fl"` Rows string `json:"rows"` WT string `json:"wt"` }
Params ..
type SolrDoc ¶
type SolrDoc struct { ID string `json:"id,omitempty" bson:"id,omitempty"` RecordIdentifier string `json:"record_identifier,omitempty" bson:"record_identifier,omitempty"` DateIndexed string `json:"date_indexed,omitempty" bson:"date_indexed,omitempty"` DateModified string `json:"date_modified,omitempty" bson:"date_modified,omitempty"` }
SolrDoc ..
type SolrResponse ¶
type SolrResponse struct { ResponseHeader SolrResponseHeader `json:"responseHeader"` Response SolrResponseBody `json:"response"` }
SolrResponse ...
type SolrResponseBody ¶
type SolrResponseBody struct { NumFound int64 `json:"numFound"` Start int64 `json:"start"` Docs []SolrDoc `json:"docs"` }
SolrResponseBody ...
type SolrResponseHeader ¶
type SolrResponseHeader struct { Status int64 `json:"status"` QTime float64 `json:"QTime"` Params Params `json:"params"` }
SolrResponseHeader ..
Click to show internal directories.
Click to hide internal directories.