lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Hill" <>
Subject unknown handler dataimport
Date Mon, 28 Jun 2010 21:36:38 GMT


I am trying to get db indexing up and running, but I am having trouble
getting it working. 


In the solrconfig.xml file, I added 


  <requestHandler name="/dataimport"

      <lst name="defaults">

         <str name="config">data-config.xml</str>




I defined a couple of fields in schema.xml   


<field name="media_id" type="long" stored="true" />

   <field name="artist_name" type="text" indexed="true" stored="true"
multiValued="true" />

   <field name="song_title" type="text" indexed="true" stored="true"
multiValued="true" />



media_id is defined as the unique key


I added the dataconfig to the data-config.xml file



        <dataSource type="JdbcDataSource"





        <document name="media">

        <entity name="video" query="select mediaId, name, title FROM Media

            <field column="mediaId" name="media_id" type="integer"

            <field column="name" name="artist_name" type="string"
indexed="true" stored="true"/>

            <field column="title" name="song_title" type="string"
indexed="true" stored="true"/>






When I start the server, I can see it is loading the dataimport handler


Jun 28, 2010 8:52:32 PM org.apache.solr.handler.dataimport.DataImportHandler

INFO: Processing configuration from solrconfig.xml: {config=data-config.xml}

Jun 28, 2010 8:52:32 PM org.apache.solr.handler.dataimport.DataImporter

INFO: Data Configuration loaded successfully



When I go to
http://localhost:8983/solr/admin/dataimport.jsp?handler=/dataimport, on the
right side, I see the message 
unknown handler: /dataimport



I do see a BindException: Address already in use when I restart the solr
process, but I don't see any other errors . Since the dataimport config was
successfully loaded, I don't think that is the reason /dataimport is


Did I forget to add something to the configurations? Is there another log
file I should be checking for errors?




L. Hill

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message