Deprecated API
Contents
-
Terminally Deprecated Elements
-
Deprecated Packages
-
Deprecated InterfacesInterfaceDescriptionUse the async variants that return CompletableFuture.Use the async variants that return CompletableFuture.use v2-native
SolrRequestimplementations directly insteadUseMapWriterinsteadUseRequestWriter.ContentWriterinstead.
-
Deprecated ClassesClassDescriptionPlease use
CloudSolrClientPlease useCloudHttp2SolrClient.BuilderPlease useConcurrentUpdateHttp2SolrClientUsed to configure the Apache HTTP client. Please use another clientPlease useHttp2ClusterStateProviderPlease useHttp2SolrClientorHttpJdkSolrClientPlease useHttp2SolrClientPlease useLBHttp2SolrClientseeinstead; more efficientPlease look into using Solr's new Http2 clientsPlease look into using Solr's new Http2 clientsPlease look into using Solr's new Http2 clientsPlease look into using Solr's new Http2 clientsPlease look into using Solr's new Http2 clientsUseGenericSolrRequest.
-
Deprecated Enums
-
Deprecated FieldsFieldDescriptionuse
CollectionParams.SOURCE_NODEinsteadthis was replaced by the auto-generated trace idsthis was replaced by the auto-generated trace idsThis was an internally used param, never meant for clients to specify; it is no longer used by Solr.
-
Deprecated MethodsMethodDescriptionNever supportedCall
ClusterStateProvider.getLiveNodes()instead.problematic as a 'get' method, since one implementation will do a remote request each time this is called, potentially return lots of data that isn't even needed.useCloudHttp2SolrClient.BuilderinsteaduseCloudHttp2SolrClient.Builderinsteadorg.apache.solr.client.solrj.impl.Http2SolrClient.requestWithBaseUrl(String, String, SolrRequest<R>) useHttpSolrClientBuilderBase.withFollowRedirects(boolean)Redirects(boolean)} insteaduseHttpSolrClient.BuilderinsteaduseSolrClientBuilder.withFollowRedirects(boolean)Redirects(boolean)} insteaduseSolrClientBuilder.allowMultiPartPost(Boolean)insteadyou should instead set this on the passed in Http2SolrClient used by the Builder.UseLBHttp2SolrClient.getClient(Endpoint)instead.Pass in a configuredHttp2SolrClientinsteadYou should instead set this on the passed in Http2SolrClient used by the Builder.Pass in a configuredHttp2SolrClientinsteaduseLBHttpSolrClient.Builder.withBaseEndpoint(String)orLBHttpSolrClient.Builder.withCollectionEndpoint(String, String)instead, based on the type of URL string currently being supplieduse eitherLBHttpSolrClient.Builder.withBaseEndpoints(String...)orLBHttpSolrClient.Builder.withCollectionEndpoints(Endpoint...), based on the type of URL strings currently used.useLBHttpSolrClient.getClient(Endpoint)insteaduseLBHttpSolrClient.makeSolrClient(Endpoint)insteaduseLBHttpSolrClient.removeSolrEndpoint(Endpoint)insteaduseLBSolrClient.addSolrServer(Endpoint)insteaduseLBSolrClient.removeSolrEndpoint(Endpoint)insteadwill be replaced with a similar method in 10.0 that returnsLBSolrClient.Endpointinstances instead.Pass in a configuredSolrClientinsteadPass in a configuredSolrClientinsteadPlease useCollectionAdminRequest.CreateTimeRoutedAlias.setMaxFutureMs(Long)instead.Method will be removed in Solr 10.0. UseXMLRequestWriterinstead.Method will be removed in Solr 10.0. UseXMLRequestWriterinstead.Method will be removed in Solr 10.0. UseXMLRequestWriterinstead.useResponseParser.getContentTypes()insteaduse QueryRequest#QueryRequest(String, SolrParams)Please useSolrRequest.getContentWriter(String)instead.use v2-nativeSolrRequestimplementations directly insteaduse v2-nativeSolrRequestimplementations directly insteadUse the Logger directlyUse the Logger directlyUse the Logger directlyUse the Logger directlyUseSimpleOrderedMapinstead.useSimpleOrderedMapinstead of NamedList when a Map is required.useNavigableObjectmethods instead
-
Deprecated ConstructorsConstructorDescriptionUse
LBHttp2SolrClient.BuilderinsteaduseBuilder(Http2SolrClient, Endpoint...)insteaduseReq(SolrRequest, Collection)insteaduseReq(SolrRequest, Collection, Integer)instead