[
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: [email protected]
For additional commands, e-mail: [email protected]