Skip to content
Docs Try Aspire
Docs Try

addSolr

Method
📦 CommunityToolkit.Aspire.Hosting.Solr v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addSolr(
name: string,
port?: number,
coreName?: string): SolrResource;
}

Signature

method addSolr builder
Adds an Apache Solr container resource to the distributed application.
addSolr(
name: string,
port?: number,
coreName?: string): SolrResource
name string
port number optional
coreName string optional
SolrResource

Applies to

This method applies to the following types: