Skip to content

Commit f1f41f7

Browse files
Merge pull request #24 from continuousphp/feature/solr-import-doc
add solr documentation for data import
2 parents 2205048 + ef26b7a commit f1f41f7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/solr.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,15 @@ environment variable `CPHP_SERVICE_SOLR = 8.0` to the Behat configuration.
3636
<td>Port</td><td>8983</td>
3737
</tr>
3838
</table>
39+
40+
## Import your own configuration
41+
42+
Continuous PHP provides possibility to import your own configuration and datas.
43+
For that, we create a new core at SolR start up.
44+
45+
Fist, put a directory with your core config into your repository. We'll copy and activate it in your service contianer.
46+
47+
Declare this repository in your pipeline using `CPHP_PATH_SOLR_CONFIG` environement variable.
48+
Put as value your directory's relative path like `CPHP_PATH_SOLR_CONFIG=solr/mydata`.
49+
50+
You can choose your core name (facultative) using `CPHP_SOLR_CORE_NAME=mycore`. Default value is 'core0'.

0 commit comments

Comments
 (0)