[
https://issues.apache.org/jira/browse/MAHOUT-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Rudin updated MAHOUT-951:
------------------------------
Status: Open (was: Patch Available)
> StackOverflow Error when using mahout lucene.vector
> ---------------------------------------------------
>
> Key: MAHOUT-951
> URL: https://issues.apache.org/jira/browse/MAHOUT-951
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.6
> Environment: presumably would occur on any platform given the same
> data.
> Reporter: Paul Rudin
> Labels: patch
>
> Running mahout lucene.vector can result in a java StackOverFlowError.
> I think this is probably because the current implementation of
> LuceneIterator.computeNext() is recursive and with appropriate data the stack
> becomes too large. The recursion only occurs when you hit a document that
> doesn't have termvectors in the specified field - so you need a lucene.index
> with lots of documents lacking such in order to hit this problem.
> I've made minimal changes to convert to a loop rather than recurse and I'll
> attach a patch to this ticket.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira