public interface SolrClientProvider
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionName()
Get the name of the collection to use.
|
String |
getCollectionName(String workspaceName)
Get the collection to use.
|
SolrClient |
getReadClient()
Get the "read" mode solr client.
|
default SolrClient |
getUpdateClient(String workspaceName)
Get a (default) Solr client suited to update.
|
SolrClient |
getUpdateClient(String workspaceName,
boolean autoCommit)
Get a Solr client suited to update.
|
SolrClient getReadClient()
default SolrClient getUpdateClient(String workspaceName)
workspaceName - The name of the workspaceSolrClient getUpdateClient(String workspaceName, boolean autoCommit)
false value for argument `autocommit` so as to get a client that will not trigger any autocommit on Solr side.
true value for argument `autocommit` is equivalent to calling getUpdateClient(String)workspaceName - The name of the workspaceautoCommit - false so as to get a client that will not trigger any autocommit on Solr side.String getCollectionName()
String getCollectionName(String workspaceName)
workspaceName - The workspace name.