Tried to add a new record using


 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>'

I get

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


and added records are not found in the search.

Any ideas what went wrong?


Thanks.
Alex.


 

-----Original Message-----
From: alx...@aim.com
To: solr-user@lucene.apache.org
Sent: Mon, 11 May 2009 12:14 pm
Subject: how to manually add data to indexes generated by nutch-1.0 using solr










Hello,

I had? Nutch -1.0 to crawl fetch and index a lot of files. Then I needed to?

index a few files also. But I know keywords for those files and their?
locations. I need to add them manually. I took a look to two tutorials on the 
wiki, but did not find any info about this issue.
Is there a tutorial on, step by step procedure of adding data to? nutch index 
using solr? manually?

Thanks in advance.
Alex.



 

Reply via email to