Re: Adding Documents to Solr by using Java Client API is failed

2018-03-19 Thread Andy Tang
grams it's not _necessary_ > > Best, > Erick > > > On Fri, Mar 16, 2018 at 2:02 PM, Andy Tang wrote: > > Erik, > > > > Thank you for reminding. > > javac -cp > > .:/opt/solr/solr-6.6.2/dist/*:/opt/solr/solr-6.6.2/dist/solrj-lib/* > >

Re: Adding Documents to Solr by using Java Client API is failed

2018-03-16 Thread Andy Tang
.6.2/dist/solrj-lib in > your classpath. > > Best, > Erick > > On Fri, Mar 16, 2018 at 12:14 PM, Andy Tang > wrote: > > I have the code to add document to Solr. I tested it in Both Solr 6.6.2 > and > > Solr 7.2.1 and failed. > > > >

Adding Documents to Solr by using Java Client API is failed

2018-03-16 Thread Andy Tang
4) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 2 more What is wrong with it? Is this urlString correct? Any help is appreciated! Andy Tang

Velocity / Solritas not works in solr 4.3 and Tomcat 6

2013-06-08 Thread andy tang
*Could anyone help me to see what is the reason which Solritas page failed?* *I can go to http://localhost:8080/solr without problem, but fail to go to http://localhost:8080/solr/browse* *As below is the status report! Any help is appreciated.* *Thanks!* *Andy* * * *type* Status report *mess