Hi, I forget to update the database.
I tried:
 bin/nutch solrindex http://127.0.0.1:8983/solr/ -all

the output :

SolrIndexerJob: starting
Skipping http://www.tianya.cn/; different batch id (null)
Skipping http://www.163.com/; different batch id (null)
Skipping http://www.taobao.com/; different batch id (null)
Skipping http://nutch.apache.org/; different batch id (null)
SolrIndexerJob: done.


and I tried :

bin/nutch solrindex http://127.0.0.1:8983/solr/ -reindex

the output:
SolrIndexerJob: starting
Adding 4 documents
SolrIndexerJob: done.


It works! 
I'm truly grateful for your help??????




------------------ Original ------------------
From:  "Lewis John Mcgibbney";<[email protected]>;
Date:  Wed, Feb 12, 2014 08:13 PM
To:  "[email protected]"<[email protected]>; 

Subject:  Re: Nutch 2.2.1 can not index to solr



Hi Gavin,

On Wed, Feb 12, 2014 at 9:24 AM, <[email protected]> wrote:

>
> ParserJob: starting
> ParserJob: resuming:    false
> ParserJob: forced reparse:    false
> ParserJob: parsing all
> Parsing http://www.tianya.cn/
> Parsing http://www.163.com/
> Parsing http://www.hao123.com/
> Parsing http://www.taobao.com/
> Parsing http://nutch.apache.org/
> ParserJob: success
> [Gavin@Gavin local]$ bin/nutch solrindex http://127.0.0.1:8983/solr -all
> SolrIndexerJob: starting
> SolrIndexerJob: done.
>
>
>
I would update the database before you push anything to Solr. Can you try
this.
Lewis

Reply via email to