Uses of Class
org.apache.solr.client.solrj.SolrServerException
Packages that use SolrServerException
Package
Description
Primary APIs for communicating with a Solr Server from a Java client.
Implementations of some client API classes, and their friends.
Convenience classes for dealing with various types of Solr requests.
-
Uses of SolrServerException in org.apache.solr.client.solrj
Methods in org.apache.solr.client.solrj that throw SolrServerExceptionModifier and TypeMethodDescriptionSolrClient.add(String collection, Collection<SolrInputDocument> docs) Adds a collection of documentsSolrClient.add(String collection, Collection<SolrInputDocument> docs, int commitWithinMs) Adds a collection of documents, specifying max time before they become committedSolrClient.add(String collection, Iterator<SolrInputDocument> docIterator) Adds the documents supplied by the given iterator.SolrClient.add(String collection, SolrInputDocument doc) Adds a single documentSolrClient.add(String collection, SolrInputDocument doc, int commitWithinMs) Adds a single document specifying max time before it becomes committedSolrClient.add(Collection<SolrInputDocument> docs) Adds a collection of documentsSolrClient.add(Collection<SolrInputDocument> docs, int commitWithinMs) Adds a collection of documents, specifying max time before they become committedSolrClient.add(Iterator<SolrInputDocument> docIterator) Adds the documents supplied by the given iterator.SolrClient.add(SolrInputDocument doc) Adds a single documentSolrClient.add(SolrInputDocument doc, int commitWithinMs) Adds a single document specifying max time before it becomes committedAdds a single beanAdds a single bean specifying max time before it becomes committedAdds a single beanAdds a single bean specifying max time before it becomes committedSolrClient.addBeans(String collection, Collection<?> beans) Adds a collection of beansSolrClient.addBeans(String collection, Collection<?> beans, int commitWithinMs) Adds a collection of beans specifying max time before they become committedAdds the beans supplied by the given iterator.SolrClient.addBeans(Collection<?> beans) Adds a collection of beansSolrClient.addBeans(Collection<?> beans, int commitWithinMs) Adds a collection of beans specifying max time before they become committedAdds the beans supplied by the given iterator.SolrClient.commit()Performs an explicit commit, causing pending documents to be committed for indexingSolrClient.commit(boolean waitFlush, boolean waitSearcher) Performs an explicit commit, causing pending documents to be committed for indexingSolrClient.commit(boolean waitFlush, boolean waitSearcher, boolean softCommit) Performs an explicit commit, causing pending documents to be committed for indexingPerforms an explicit commit, causing pending documents to be committed for indexingPerforms an explicit commit, causing pending documents to be committed for indexingPerforms an explicit commit, causing pending documents to be committed for indexingSolrClient.deleteById(String id) Deletes a single document by unique ID.SolrClient.deleteById(String id, int commitWithinMs) Deletes a single document by unique ID, specifying max time before commit.SolrClient.deleteById(String collection, String id) Deletes a single document by unique ID.SolrClient.deleteById(String collection, String id, int commitWithinMs) Deletes a single document by unique ID, specifying max time before commit.SolrClient.deleteById(String collection, List<String> ids) Deletes a list of documents by unique ID.SolrClient.deleteById(String collection, List<String> ids, int commitWithinMs) Deletes a list of documents by unique ID, specifying max time before commit.SolrClient.deleteById(List<String> ids) Deletes a list of documents by unique ID.SolrClient.deleteById(List<String> ids, int commitWithinMs) Deletes a list of documents by unique ID, specifying max time before commit.SolrClient.deleteByQuery(String query) Deletes documents from the index based on a querySolrClient.deleteByQuery(String query, int commitWithinMs) Deletes documents from the index based on a query, specifying max time before commitSolrClient.deleteByQuery(String collection, String query) Deletes documents from the index based on a querySolrClient.deleteByQuery(String collection, String query, int commitWithinMs) Deletes documents from the index based on a query, specifying max time before commitRetrieves the SolrDocument associated with the given identifier.Retrieves the SolrDocument associated with the given identifier.SolrClient.getById(String collection, String id, SolrParams params) Retrieves the SolrDocument associated with the given identifier and uses the SolrParams to execute the request.SolrClient.getById(String collection, Collection<String> ids) Retrieves the SolrDocuments associated with the given identifiers.SolrClient.getById(String collection, Collection<String> ids, SolrParams params) Retrieves the SolrDocuments associated with the given identifiers and uses the SolrParams to execute the request.SolrClient.getById(String id, SolrParams params) Retrieves the SolrDocument associated with the given identifier and uses the SolrParams to execute the request.SolrClient.getById(Collection<String> ids) Retrieves the SolrDocuments associated with the given identifiers.SolrClient.getById(Collection<String> ids, SolrParams params) Retrieves the SolrDocuments associated with the given identifiers and uses the SolrParams to execute the request.SolrClient.optimize()Performs an explicit optimize, causing a merge of all segments to one.SolrClient.optimize(boolean waitFlush, boolean waitSearcher) Performs an explicit optimize, causing a merge of all segments to one.SolrClient.optimize(boolean waitFlush, boolean waitSearcher, int maxSegments) Performs an explicit optimize, causing a merge of all segments to one.Performs an explicit optimize, causing a merge of all segments to one.Performs an explicit optimize, causing a merge of all segments to one.Performs an explicit optimize, causing a merge of all segments to one.SolrClient.ping()Issues a ping request to check if the server is aliveIssues a ping request to check if the collection's replicas are alivefinal TSolrRequest.process(SolrClient client) Send this request to aSolrClientand return the responsefinal TSolrRequest.process(SolrClient client, String collection) Send this request to aSolrClientand return the responsefinal TSolrRequest.processWithBaseUrl(HttpSolrClientBase client, String baseUrl, String collection) Send this request to aSolrClientand return the responseSolrClient.query(String collection, SolrParams params) Performs a query to the Solr serverSolrClient.query(String collection, SolrParams params, SolrRequest.METHOD method) Performs a query to the Solr serverSolrClient.query(SolrParams params) Performs a query to the Solr serverSolrClient.query(SolrParams params, SolrRequest.METHOD method) Performs a query to the Solr serverSolrClient.queryAndStreamResponse(String collection, SolrParams params, FastStreamingDocsCallback callback) SolrClient.queryAndStreamResponse(String collection, SolrParams params, StreamingResponseCallback callback) Query solr, and stream the results.SolrClient.queryAndStreamResponse(SolrParams params, StreamingResponseCallback callback) Query solr, and stream the results.SolrClient.request(SolrRequest<?> request) Execute a request against a Solr server using the default collectionSolrClient.request(SolrRequest<?> request, String collection) Execute a request against a Solr server for a given collectionSolrClient.rollback()Performs a rollback of all non-committed documents pending.Performs a rollback of all non-committed documents pending. -
Uses of SolrServerException in org.apache.solr.client.solrj.impl
Methods in org.apache.solr.client.solrj.impl that throw SolrServerExceptionModifier and TypeMethodDescriptionprotected ExceptionLBSolrClient.doRequest(LBSolrClient.Endpoint baseUrl, LBSolrClient.Req req, LBSolrClient.Rsp rsp, boolean isNonRetryable, boolean isZombie) LBSolrClient.EndpointIterator.nextOrError()LBSolrClient.EndpointIterator.nextOrError(Exception previousEx) protected HttpJdkSolrClient.PreparedRequestHttpJdkSolrClient.prepareRequest(SolrRequest<?> solrRequest, String collection, String overrideBaseUrl) HttpSolrClientBase.processErrorsAndResponse(int httpStatus, String responseReason, String responseMethod, ResponseParser processor, InputStream is, String mimeType, String encoding, boolean isV2Api, String urlExceptionMessage) CloudSolrClient.request(SolrRequest<?> request, String collection) ConcurrentUpdateBaseSolrClient.request(SolrRequest<?> request, String collection) HttpJdkSolrClient.request(SolrRequest<?> solrRequest, String collection) LBSolrClient.request(LBSolrClient.Req req) Tries to query a live server from the list provided in Req.LBSolrClient.request(SolrRequest<?> request, String collection) Tries to query a live server.LBSolrClient.request(SolrRequest<?> request, String collection, Integer numServersToTry) protected abstract CompletableFuture<NamedList<Object>> LBAsyncSolrClient.requestAsyncWithUrl(SolrClient client, String baseUrl, SolrRequest<?> request) HttpJdkSolrClient.requestWithBaseUrl(String baseUrl, SolrRequest<?> solrRequest, String collection) HttpSolrClientBase.requestWithBaseUrl(String baseUrl, SolrRequest<?> solrRequest, String collection) Executes a SolrRequest using the provided URL to temporarily override any "base URL" currently used by this clientCloudSolrClient.requestWithRetryOnStaleState(SolrRequest<?> request, int retryCount, List<String> inputCollections, boolean skipStateVersion, Map<String, CompletableFuture<DocCollection>> pendingRefreshes, boolean waitedForRefresh) As this class doesn't watch external collections on the client side, there's a chance that the request will fail due to cached stale state, which means the state must be refreshed from ZK and retried.CloudSolrClient.sendRequest(SolrRequest<?> request, List<String> inputCollections) -
Uses of SolrServerException in org.apache.solr.client.solrj.request
Methods in org.apache.solr.client.solrj.request that throw SolrServerExceptionModifier and TypeMethodDescriptionUpdateRequest.commit(SolrClient client, String collection) static CoreAdminResponseCoreAdminRequest.createCore(String name, String instanceDir, SolrClient client) static CoreAdminResponseCoreAdminRequest.createCore(String name, String instanceDir, SolrClient client, String configFile, String schemaFile) static CoreAdminResponseCoreAdminRequest.createCore(String name, String instanceDir, SolrClient client, String configFile, String schemaFile, String dataDir, String ulogDir) CoreAdminRequest.getCoreStatus(String coreName, boolean getIndexInfo, SolrClient client) CoreAdminRequest.getCoreStatus(String coreName, SolrClient client) static CoreAdminResponseCoreAdminRequest.getStatus(String name, SolrClient client) CollectionAdminRequest.listCollections(SolrClient client) Returns a SolrRequest to get a list of collections in the clusterstatic CoreAdminResponseCoreAdminRequest.mergeIndexes(String name, String[] indexDirs, String[] srcCores, SolrClient client) CollectionAdminRequest.AsyncCollectionAdminRequest.processAndWait(String asyncId, SolrClient client, long timeoutSeconds) Send this request to a Solr server, and wait (up to a timeout) for the request to complete or failCollectionAdminRequest.AsyncCollectionAdminRequest.processAndWait(SolrClient client, long timeoutSeconds) Send this request to a Solr server, and wait (up to a timeout) for the request to complete or failCollectionAdminRequest.AsyncCollectionAdminRequest.processAsync(String asyncId, SolrClient client) Process this request asynchronously, using a specified request idCollectionAdminRequest.AsyncCollectionAdminRequest.processAsync(SolrClient client) Process this request asynchronously, generating and returning a request idstatic CoreAdminResponseCoreAdminRequest.reloadCore(String name, SolrClient client) static CoreAdminResponseCoreAdminRequest.renameCore(String coreName, String newName, SolrClient client) Rename an existing core.static CoreAdminResponseCoreAdminRequest.swapCore(String core1, String core2, SolrClient client) Swap two existing cores.static CoreAdminResponseCoreAdminRequest.unloadCore(String name, boolean deleteIndex, boolean deleteInstanceDir, SolrClient client) static CoreAdminResponseCoreAdminRequest.unloadCore(String name, boolean deleteIndex, SolrClient client) static CoreAdminResponseCoreAdminRequest.unloadCore(String name, SolrClient client) CollectionAdminRequest.RequestStatus.waitFor(SolrClient client, long timeoutSeconds) Wait until the asynchronous request is either completed or failed, up to a timeoutstatic voidCollectionAdminRequest.waitForAsyncRequest(String requestId, SolrClient client, long timeout)