Documentation ¶
Index ¶
Constants ¶
View Source
const ( HighlightPreTag = "<strong>" HighlightPostTag = "</strong>" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorityHit ¶
type AuthorityHits ¶
type AuthorityHits struct { TotalHits int `json:"totalHits,omitempty"` Hits []AuthorityHit `json:"hits,omitempty"` }
type SearchAuthorityClient ¶
type SearchAuthorityClient interface { SearchAuthority(query string, types []string) (AuthorityHits, error) SearchAuthorityByExternalId(source string, id string, types []string) (AuthorityHits, error) FindPublicationsByNaturalId(completeQuery string) (AuthorityHits, error) }
func NewSearchAuthorityClient ¶
func NewSearchAuthorityClient(esUrl *url.URL) (SearchAuthorityClient, error)
Click to show internal directories.
Click to hide internal directories.