[ 
https://issues.apache.org/jira/browse/NUTCH-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kaidul Islam updated NUTCH-2388:
--------------------------------
    Description: 
During each iteration, after generating, fetching, parsing and updating the 
current batch into DB, the indexer is supposed to index the current batch too. 
But its indexing all currently.

{code}
__bin_nutch index $commonOptions -D solr.server.url=$SOLRURL -all -crawlId 
"$CRAWL_ID"
{code}
It should be like below i guess -

{code}
__bin_nutch index $commonOptions -D solr.server.url=$SOLRURL $batchId -crawlId 
"$CRAWL_ID"
{code}

  was:
During each iteration, after generating, fetching, parsing and updating DB the 
current batch, the indexer is supposed to index the current batch too. But its 
indexing all currently.

{code}
__bin_nutch index $commonOptions -D solr.server.url=$SOLRURL -all -crawlId 
"$CRAWL_ID"
{code}
It should be like below i guess -

{code}
__bin_nutch index $commonOptions -D solr.server.url=$SOLRURL $batchId -crawlId 
"$CRAWL_ID"
{code}


> bin/crawl indexing only webpages containing batchID instead of all in 2.x
> -------------------------------------------------------------------------
>
>                 Key: NUTCH-2388
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2388
>             Project: Nutch
>          Issue Type: Bug
>          Components: bin
>    Affects Versions: 2.3
>            Reporter: Kaidul Islam
>            Assignee: Kaidul Islam
>            Priority: Trivial
>             Fix For: 2.4
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> During each iteration, after generating, fetching, parsing and updating the 
> current batch into DB, the indexer is supposed to index the current batch 
> too. But its indexing all currently.
> {code}
> __bin_nutch index $commonOptions -D solr.server.url=$SOLRURL -all -crawlId 
> "$CRAWL_ID"
> {code}
> It should be like below i guess -
> {code}
> __bin_nutch index $commonOptions -D solr.server.url=$SOLRURL $batchId 
> -crawlId "$CRAWL_ID"
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to