christophstrobl / spring-data-solr-showcase

Sample Spring MVC Application demonstrating usage of Spring Data Solr.
Apache License 2.0
95 stars 85 forks source link

How to run showcase with Solr 8 or greater ? #14

Open codyburleson opened 5 years ago

codyburleson commented 5 years ago

The README instructs the following, which does not work in Solr 8:

:solr> cd example
:example> java -jar start.jar
:example> cd exampledocs
:exampledocs> java -jar post.jar *.xml

There is no start.jar in SOLR_HOME/example. I tried the following:

bin/solr -e exampledocs

However, that prints the following error:

ERROR: Unsupported example exampledocs! Please choose one of: cloud, dih, schemaless, or techproducts

Is there a way that we can run the Showcase using Solr-8.0.0 or higher?

bjonnh commented 4 years ago

In case someone still has this need:

bin/solr create_core -c collection1 -d sample_techproducts_configs
bin/post -c collection1 example/exampledocs/*