Automatically exported from code.google.com/p/solr-data-import-scheduler
自动导入数据到solr的索引中
Automatically exported from code.google.com/p/solr-data-import-scheduler
What steps will reproduce the problem?
1. I followed every steps listed in the [wiki][1]
2. started tomcat and waited until the timer kicked off and it did
3. saw 415 code in console and no data retrieved from DB. Solr wasn't updated.
What is the expected output? What do you see instead?
I expected to see code 200 and Solr got updated, but it didn't
What version of the product are you using? On what operating system?
I download the scheduler from google just now (so i assume the latest). Solr
4.81, on Windows 7 and tomcat 7.039 and java 7
Please provide any additional information below
I only have one core. and I modified the param in dateimport.properties since
the original one also gave me 415. The entire console message is as below.
However, before diving into the console message, I want to mention that I tried
the Full URL below in Firefox RESTClient tester, it gave good results with both
GET or POST. I could see that Solr was updated.
So here is the full message, please help.
Thank you
4200409 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> Process started at .............. 03.07.2014 15:11:56 385
4200411 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> Request method
POST
4200412 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> Succesfully connected to server
localhost
4200414 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> Using port
58080
4200416 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> Application name
solr
4200424 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> URL params
/dataimport?command=delta-import&clean=false&commit=true
4200426 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> Full URL
http://localhost:58080/solr/dataimport?command=delta-import&clean=false&commit=true
4200430 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> Response message
Unsupported Media Type
4200431 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> Response code 415
4200433 [Timer-0] INFO org.apache.solr.core.SolrResourceLoader û No /solr/home in JNDI
4200440 [Timer-0] INFO org.apache.solr.core.SolrResourceLoader û using system property solr.solr.home: C:/Users/Greg/Servers/solr_greg
4200442 [Timer-0] INFO org.apache.solr.core.SolrResourceLoader û new SolrResourceLoader for deduced Solr Home: 'C:/Users/Greg/Servers/solr_greg\'
4200465 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.SolrDataImportProperties û Instance dir = C:/Users/Greg/Servers/solr_greg\
4200467 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> Disconnected from server
localhost
4200468 [Timer-0] INFO org.apache.solr.handler.dataimport.scheduler.HttpPostScheduler û <index update process> Process ended at ................ 03.07.2014 15:11:56 444
[1]: http://wiki.apache.org/solr/DataImportHandler#Scheduling
Original issue reported on code.google.com by [email protected]
on 3 Jul 2014 at 8:37
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.