SOLR-13723: JettySolrRunner should support /api/* (the v2 end point)

This commit is contained in:
Noble Paul 2019-08-29 14:06:42 +10:00
parent 7d026f803d
commit da02e9f83c
1 changed files with 5 additions and 1 deletions

View File

@ -804,9 +804,13 @@ public class JettySolrRunner {
/** /**
* A main class that starts jetty+solr This is useful for debugging * A main class that starts jetty+solr This is useful for debugging
*/ */
public static void main(String[] args) throws Exception { public static void main(String[] args) {
try {
JettySolrRunner jetty = new JettySolrRunner(".", "/solr", 8983); JettySolrRunner jetty = new JettySolrRunner(".", "/solr", 8983);
jetty.start(); jetty.start();
} catch (Exception ex) {
ex.printStackTrace();
}
} }
/** /**