SolrBuilderExtensions
Class static net10.0
Extension methods for adding and configuring a Solr resource.
namespace Aspire.Hosting;
public static class SolrBuilderExtensions{ // ...}Methods4
Section titled MethodsAddSolr(IDistributedApplicationBuilder, string, int?, string?)extensionats exportIResourceBuilder<SolrResource> Adds an Apache Solr container resource to the distributed application.
WithConfigset(IResourceBuilder<SolrResource>, string, string)extensionats exportIResourceBuilder<SolrResource> Specifies the path to the config set directory.
WithDataBindMount(IResourceBuilder<SolrResource>, string, bool)extensionats exportIResourceBuilder<SolrResource> Adds a bind mount for the data folder to a Solr container resource.
WithDataVolume(IResourceBuilder<SolrResource>, string?, bool)extensionats exportIResourceBuilder<SolrResource> Adds a named volume for the data folder to a Solr container resource.