I forget to say that when 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 search for added keywords gives 0 results. Does status 0 mean that addition was successful? Thanks. Alex. -----Original Message----- From: Erik Hatcher <e...@ehatchersolutions.com> To: solr-user@lucene.apache.org Sent: Tue, 12 May 2009 6:48 pm Subject: Re: how to manually add data to indexes generated by nutch-1.0 using solr send a <commit/> request afterwards, or you can add ?commit=true to the /update request with the adds.? ? ? Erik? ? On May 12, 2009, at 8:57 PM, alx...@aim.com wrote:? ? >? > 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-u...@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.? >? >? >? >? >? ?