The wiki has steps to build solr with gradle
https://cwiki.apache.org/confluence/display/SOLR/Building+Solr+with+Gradle

./gradlew assemble or ./gradlew dev will create runnable solr instance.


On Wed, Sep 23, 2020, 8:01 PM Christine Poerschke (BLOOMBERG/ LONDON) <
cpoersc...@bloomberg.net> wrote:

> Hello everyone.
>
> So I was trying to locally test the small
> https://issues.apache.org/jira/browse/SOLR-11167 change on master branch
> and encountered two things:
>
> Question: What is the replacement for "cd solr ; ant dist server" usage?
>
> If there is an equivalent -- "./gradlew -p solr assembleDist" perhaps? --
> then I'd be happy to update
> https://github.com/apache/lucene-solr/blob/master/help/ant.txt with the
> info.
>
> Observation: "cd solr ; bin/solr start -e techproducts" on master branch
> (but not branch_8x) gives me an error. Is this a known issue already or if
> not could someone try to reproduce the issue before a JIRA ticket is opened?
>
> ERROR: Error CREATEing SolrCore 'techproducts': Unable to create core
> [techproducts] Caused by: [schema.xml] analyzer/tokenizer: missing
> mandatory attribute 'class'
>
> Thanks,
>
> Christine
>

Reply via email to