Giter VIP home page Giter VIP logo

solr-data-import-scheduler's Introduction

solr-data-import-scheduler

Automatically exported from code.google.com/p/solr-data-import-scheduler

自动导入数据到solr的索引中

solr-data-import-scheduler's People

Contributors

mbonaci avatar yangjunjie avatar

solr-data-import-scheduler's Issues

HttpPostScheduler gave 415 code

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.