the add request is like this


 curl http://localhost:8983/solr/update -H "Content-Type: text/xml" -->
data-binary '<add>
 <doc boost="2.5">
 <field name="segment">20090512170318</field>
 <field name="digest">86937aaee8e748ac3007ed8b66477624</field>
 <field name="boost">0.21189615</field>
 <field name="url">test.com</field>
 <field name="title">test test</field>
 <field name="tstamp"> 20090513003210909</field>
 </doc> </add>'




-----Original Message-----
From: [email protected]
To: [email protected]
Sent: Wed, 13 May 2009 10:18 am
Subject: Re: nutch-1.0 with solr











 I went through that page. But when I try to add indexes manually  using

curl http://localhost:8983/solr/update -H "Content-Type: text/xml" --data-binary
'<commit waitFlush="false" waitSearcher="false"/>'
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int 
name="QTime">453</int></lst>
</response>

I get

<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int 
name="QTime">113</int></lst>
</response>


then I do

curl http://localhost:8983/solr/update -H "Content-Type: text/xml" --data-binary
'<commit waitFlush="false" waitSearcher="false"/>'
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int 
name="QTime">453</int></lst>
</response>


and added keywords are not in the search results.
So I am not sure what went wrong.

Thanks.
Alex.







-----Original Message-----
From: Raymond Balmès <[email protected]>
To
: [email protected]
Sent: Wed, 13 May 2009 1:18 am
Subject: Re: nutch-1.0 with solr










Just a perfect page, worked first time right for me.

http://www.lucidimagination.com/blog/2009/03/09/nutch-solr/

-Raymond-
2009/5/12 <[email protected]>

>
>  Hello,
>
> I just heard that nutch-1.0 has solr integration. Is there any tutorials on
> how to add data to nutch-1.0 indexes using solr manually?
>
> Thanks.
> Alex.
>
>
>
>
>
>
>









Reply via email to