Skip to content
Docs Try Aspire

SolrResource Properties

Class Properties 6 members
Represents an Apache Solr container resource.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string expression for the Solr server.
public ReferenceExpression ConnectionStringExpression { get; }
The Solr core name.
public string CoreName { get; set; }
Host Section titled Host EndpointReferenceExpression
Gets the host endpoint reference for this resource.
public EndpointReferenceExpression Host { get; }
Port Section titled Port EndpointReferenceExpression
Gets the port endpoint reference for this resource.
public EndpointReferenceExpression Port { get; }
PrimaryEndpoint Section titled PrimaryEndpoint EndpointReference
Gets the primary endpoint for the Solr server.
public EndpointReference PrimaryEndpoint { get; }
UriExpression Section titled UriExpression ReferenceExpression
Gets the connection URI expression for the Solr server.
public ReferenceExpression UriExpression { get; }
Format: http://{host}:{port}/solr/{coreName}.