I have searched the forum and the internet at large to find an answer to my
simple problem, but have been unable. I am trying to get a simple dataimport
to work, and have not been able to. I have Solr installed on an Apache
server on Unix. I am able to commit and search for files using the usual
Simple* tools. These files begin with <add>... and so on.

On the data import, I have inserted
  <requestHandler name="/dataimport"
class="org.apache.solr.handler.dataimport.DataImportHandler">
    <lst name="defaults">
      <str
name="config">/R1/home/shoshana/kyle/Documents/data-config.xml</str>      
    </lst>
  </requestHandler>

into solrconfig, and the data import looks like this:
<dataConfig>
        <dataSource type="FileDataSource"
baseUrl="http://helix.ccb.sickkids.ca:8080/"; encoding="UTF-8" />
        <document>
        <entity name="page" processor="XPathEntityProcessor" stream="true"
forEach="/iProClassDatabase/iProClassEntry/"
url="/R1/home/shoshana/kyle/Documents/exampleIproResult.xml">
                <field column="UniProtKB_Accession"
xpath="/iProClassDatabase/iProClassEntry/GENERAL_INFORMATION/Protein_Name_and_ID/UniProtKB/UniProtKB_Accession">
                <field column="Nomenclature"
xpath="/iProClassDatabase/iProClassEntry/CROSS_REFERENCES/Enzyme_Function/EC/Nomenclature"
/>
                                <field column="PMID"
xpath="/iProClassDatabase/iProClassEntry/CROSS_REFERENCES/Bibliography/References/PMID"
/>
                                <field column="Sequence_Length"
xpath="/iProClassDatabase/iProClassEntry/SEQUENCE/Sequence_Length" />
        </entity>
        </document>
</dataConfig> 

I apologize for the ugly xml. Nonetheless, when I go to
http://host:8080/solr/dataimport, I get a 404, and when I go to
http://host:8080/solr/admin/dataimport.jsp and try to "debug", nothing
happens. I have editted out the host name because I don't know if the
employer would be ok with it. Any guidance?

Thanks in advance,
Kyle
-- 
View this message in context: 
http://www.nabble.com/DataImport-troubleshooting-tp19630990p19630990.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to