i'm new in solr , want start example in exampledocs folder , when try start using windows prompt have error message in title. can me?
when running solr quick start on windows faced same problem. in comments of guide found worked me:
c:\opt\solr-5.2.1>java -dc=gettingstarted -jar example\exampledocs\post.jar example\exampledocs\*.xml
that got me following output:
c:\opt\solr-5.2.1>java -dc=gettingstarted -jar example\exampledocs\post.jar example\exampledocs\*.xml simpleposttool version 5.0.0 posting files [base] url http://localhost:8983/solr/gettingstarted/update using content-type application/xml... posting file gb18030-example.xml [base] posting file hd.xml [base] posting file ipod_other.xml [base] posting file ipod_video.xml [base] posting file manufacturers.xml [base] posting file mem.xml [base] posting file money.xml [base] posting file monitor.xml [base] posting file monitor2.xml [base] posting file mp500.xml [base] posting file sd500.xml [base] posting file solr.xml [base] posting file utf8-example.xml [base] posting file vidcard.xml [base] 14 files indexed. committing solr index changes http://localhost:8983/solr/gettingstarted/update... time spent: 0:00:22.043
the -dc
parameter trick.
on other hand when running folder docs did not work. not scope of answer since wanted show how running anyhow.
Comments
Post a Comment