This issue is your request handler path: <requestHandler name="/
advisor/dataimport"...>, use name="/dataimport" instead. Implicitly
all access to a core is /solr/<corename> and all paths in solrconfig
go after that.
Erik
On Jun 14, 2010, at 1:44 PM, Moazzam Khan wrote:
Hi,
Does anyone know how to access the dataimport handler on a multicore
setup?
This is my solr.xml
<solr persistent="true" sharedLib="lib">
<cores adminPath="/admin/cores">
<core name="advisors" instanceDir="advisors" />
<core name="requests" instanceDir="requests" />
</cores>
</solr>
I've tried http://localhost:8080/solr/advisors/dataimport but that
doesn't work. My solrconfig.xml for advisors looks like this:
<!-- Data improt handler -->
<requestHandler name="/advisor/dataimport"
class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str name="config">C:\solr\example\solr\advisors\conf\dih-
advisors-jdbc.xml</str>
</lst>
</requestHandler>
Thanks,
Moazzam