mirror of https://github.com/apache/lucene.git
SOLR-13723: JettySolrRunner should support /api/* (the v2 end point)
This commit is contained in:
parent
7d026f803d
commit
da02e9f83c
|
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue