Download the PHP package tsterker/solarium-collection-manager without Composer
On this page you can find all versions of the php package tsterker/solarium-collection-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tsterker/solarium-collection-manager
More information about tsterker/solarium-collection-manager
Files in tsterker/solarium-collection-manager
Download tsterker/solarium-collection-manager
More information about tsterker/solarium-collection-manager
Files in tsterker/solarium-collection-manager
Vendor tsterker
Package solarium-collection-manager
Short Description Rudimentary SolrCloud collection management helper
License MIT
Package solarium-collection-manager
Short Description Rudimentary SolrCloud collection management helper
License MIT
Please rate this library. Is it a good library?
Informations about the package solarium-collection-manager
tsterker/solarium-collection-manager
Manage Solr collections via Solarium.
Usage
Code shows a basic example on how to instantiate the CollectionManager
and create a collection.
For more information:
- See the
CollectionManagerInterface
for all available management methods. - See the integration
TestCase
on how you could use theCollectionManager
to clear your Solr collections/aliases for test setups.
Example:
Configuration options during collection creation:
Option | Default | Description |
---|---|---|
nrt_replicas |
1 |
The number of NRT (Near-Real-Time) replicas to create for this collection. |
num_shards |
1 |
The number of shards to be created as part of the collection. |
pull_replicas |
0 |
The number of PULL replicas to create for this collection. |
router_name |
compositeId |
The router name that will be used. The router defines how documents will be distributed among the shards. Possible values are implicit or compositeId. |
tlog_replicas |
0 |
The number of TLOG replicas to create for this collection. |
wait_for_final_state |
false |
Whether the request should complete only when all affected replicas become active. |
See the Solr documentation for details.
Development
All versions of solarium-collection-manager with dependencies
PHP Build Version
Package Version
Requires
solarium/solarium Version
^6.0
The package tsterker/solarium-collection-manager contains the following files
Loading the files please wait ....