-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add steps to install as package
- Loading branch information
1 parent
5cbbaca
commit 11b2100
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## Install as a package | ||
|
||
* Start Solr (version 8.4 or later) nodes with -Denable.packages=true | ||
```bash | ||
$ bin/solr -c -Denable.packages=true | ||
``` | ||
|
||
* Add repository: | ||
```bash | ||
$ bin/solr package add-repo child-transformer "https://raw.githubusercontent.com/munendrasn/child-subquery/master/repo/" | ||
``` | ||
|
||
* List available packages: | ||
```bash | ||
$ bin/solr package list-available | ||
``` | ||
|
||
* Install the package | ||
```bash | ||
$ bin/solr package install child-transformer | ||
``` | ||
|
||
* Deploy package on the collection | ||
|
||
```bash | ||
$ bin/solr package deploy child-transformer -y -collections test -p TRANSFORMER_NAME=childquery | ||
``` | ||
> `TRANSFORMER_NAME` when not specified, defaults to `childquery` | ||
Refer [this](README.md#childsubquerytransformer) for sample usage | ||
|
||
## Development [Upcoming] | ||
|
||
> Refer to [Ishan](https://github.com/chatman)'s [repo](https://github.com/chatman/question-answering#development) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters