You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ruixiang Zhang <rx...@gmail.com> on 2010/12/03 00:58:19 UTC
solr/admin/dataimport Not Found
I tried to import data from mysql. When I tried to run
http://mydomain.com:8983/solr/admin/dataimport , I got these error message:
HTTP ERROR: 404
NOT_FOUND
RequestURI=/solr/admin/dataimport
*Powered by Jetty:// <http://jetty.mortbay.org/>
*
Any help will be appreciated!!!
Thanks
Richard
Re: solr/admin/dataimport Not Found
Posted by Ruixiang Zhang <rx...@gmail.com>.
Thank you so much, Koji, the example-DIH works. I'm reading for details...
Richard
On Thu, Dec 2, 2010 at 4:39 PM, Koji Sekiguchi <ko...@r.email.ne.jp> wrote:
> (10/12/03 9:29), Ruixiang Zhang wrote:
>
>> Hi Koji
>>
>> Thanks for your reply.
>> I pasted the wrong link.
>> Actually I tried this fist http://mydomain.com:8983/solr/dataimport
>> It didn't work.
>> The page should be there after installation, right? Did I miss something?
>>
>> Thanks a lot!
>> Richard
>>
>
> To work that URL, you have to have a request handler in your
> solrconfig.xml:
>
> <requestHandler name="/dataimport"
> class="org.apache.solr.handler.dataimport.DataImportHandler">
> <lst name="defaults">
> <str name="config">db-data-config.xml</str>
> </lst>
> </requestHandler>
>
> If you try DIH for the first time, please read
> solr/example/example-DIH/README.txt
> and try example-DIH first.
>
>
> Koji
> --
> http://www.rondhuit.com/en/
>
Re: solr/admin/dataimport Not Found
Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
(10/12/03 9:29), Ruixiang Zhang wrote:
> Hi Koji
>
> Thanks for your reply.
> I pasted the wrong link.
> Actually I tried this fist http://mydomain.com:8983/solr/dataimport
> It didn't work.
> The page should be there after installation, right? Did I miss something?
>
> Thanks a lot!
> Richard
To work that URL, you have to have a request handler in your solrconfig.xml:
<requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str name="config">db-data-config.xml</str>
</lst>
</requestHandler>
If you try DIH for the first time, please read solr/example/example-DIH/README.txt
and try example-DIH first.
Koji
--
http://www.rondhuit.com/en/
Re: solr/admin/dataimport Not Found
Posted by Ruixiang Zhang <rx...@gmail.com>.
Hi Koji
Thanks for your reply.
I pasted the wrong link.
Actually I tried this fist http://mydomain.com:8983/solr/dataimport
It didn't work.
The page should be there after installation, right? Did I miss something?
Thanks a lot!
Richard
On Thu, Dec 2, 2010 at 4:23 PM, Koji Sekiguchi <ko...@r.email.ne.jp> wrote:
> (10/12/03 8:58), Ruixiang Zhang wrote:
>
>> I tried to import data from mysql. When I tried to run
>> http://mydomain.com:8983/solr/admin/dataimport , I got these error
>> message:
>>
>> HTTP ERROR: 404
>>
>> NOT_FOUND
>>
>> RequestURI=/solr/admin/dataimport
>>
>> *Powered by Jetty://<http://jetty.mortbay.org/>
>>
>>
>>
>> *
>> Any help will be appreciated!!!
>> Thanks
>> Richard
>>
>
> Richard,
>
> Usually, it should be http://mydomain.com:8983/solr/dataimport
>
> Koji
> --
> http://www.rondhuit.com/en/
>
Re: solr/admin/dataimport Not Found
Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
(10/12/03 8:58), Ruixiang Zhang wrote:
> I tried to import data from mysql. When I tried to run
> http://mydomain.com:8983/solr/admin/dataimport , I got these error message:
>
> HTTP ERROR: 404
>
> NOT_FOUND
>
> RequestURI=/solr/admin/dataimport
>
> *Powered by Jetty://<http://jetty.mortbay.org/>
>
>
> *
> Any help will be appreciated!!!
> Thanks
> Richard
Richard,
Usually, it should be http://mydomain.com:8983/solr/dataimport
Koji
--
http://www.rondhuit.com/en/