HoustonPutman commented on code in PR #4876:
URL: https://github.com/apache/solr/pull/4876#discussion_r3936460389
##########
solr/core/src/java/org/apache/solr/cli/RunExampleTool.java:
##########
@@ -410,8 +410,10 @@ protected void runExample(CommandLine cli, String
exampleName) throws Exception
postTool.runTool(postToolCli);
} else {
- echo(
- "exampledocs directory not found, skipping indexing step for the
techproducts example");
+ throw new IllegalArgumentException(
+ "This Solr distribution does not include example data."
+ + "('slim' Docker image). Please use the full Solr "
+ + "distribution to run the techproducts example.");
Review Comment:
It is possible this is because of the slim docker image, but it's not the
only reason.
```suggestion
"This Solr distribution does not include example data."
+ "This is expected when using the 'slim' Solr distribution."
+ "Please use the full Solr distribution to run the
'techproducts' example.");
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]