package
0.3.0
Repository: https://github.com/oleewere/go-solr-client.git
Documentation: pkg.go.dev

# Functions

AddBasicAuthHeader add Auth header with basic auth credentials.
AddNegotiateHeader add WWW-Authenticate header (SPNEGO) in case of kerberos is enabled.
CreateSolrQuery will create a new Solr query with empty queries.
GenerateIniFile create an ini file to a specific location.
GenerateSolrConfig create sample ini file for Solr data generation.
GenerateSolrData Use to generate Solr data, also scp keytab file to local if kerberos and ssl config is enabled.
GetSolrCollectionUri gather Solr collection url with url context (if exists) and url suffix e.g.: url - https://myurl:8886, context: /solr, suffix: /update/json/docs = https://myurl:8886/solr/update/json/docs.
InitSecurityConfig set initial security config on start.
NewSolrClient initialize a new Solr client based on configuration type.

# Structs

BasicAuthConfig hold authentication credentials.
KerberosConfig holds kerberos related configurations.
SecurityConfig holds security related configurations.
SolrClient represents a Solr connection that is used to communicate with Solr HTTP endpoints.
SolrConfig holds Solr related configurations.
SolrDataProcessor type for processing Solr data.
SolrQuery represents a solr query object.
SolrResponse represents a Solr HTTP response.
SolrResponseData represents Solr response data that contains the response itself and the response header as well.
SolrResponseHeader represents Solr request headers from Solr HTTP response.
SSHConfig holds SSH related configs that is used by the data generator (to gather keytabs if kerberos is enabled).
TLSConfig holds TLS related configurations.

# Type aliases

SolrDocument represents a Solr document (document map).
SolrDocuments holds array of Solr documents.