You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2013/10/14 12:39:42 UTC
[jira] [Resolved] (SOLR-5347) DataImportHandler 'start' parameter
doesn't work unless 'rows' is also specified
[ https://issues.apache.org/jira/browse/SOLR-5347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-5347.
-----------------------------------------
Resolution: Invalid
Fix Version/s: (was: 4.6)
(was: 5.0)
I was mistaken. The 'start' and 'rows' parameter are only for debug mode. They aren't supported in non-debug mode.
> DataImportHandler 'start' parameter doesn't work unless 'rows' is also specified
> --------------------------------------------------------------------------------
>
> Key: SOLR-5347
> URL: https://issues.apache.org/jira/browse/SOLR-5347
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 4.5
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
>
> The 'rows' param is initialized to Long.MAX_VALUE by default. Therefore when 'start' parameter is specified and DocBuilder does the following check:
> {code}
> if(importStatistics.docCount.get() > (reqParams.getStart() + reqParams.getRows())) break;
> {code}
> The R.H.S. overflows and the condition evaluates to true. The end result is that no documents are ever indexed.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org