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

Sean Owen updated MAHOUT-644:
-----------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

OK I committed a variant on my last patch which will preserve the previous 
behavior, which was to return null during the iteration in this case. It feels 
funny, but I'll leave it as-is for now since this is secondary to the JIRA 
issue.

> LuceneIterable does not throw exception if field does not have term vectors
> ---------------------------------------------------------------------------
>
>                 Key: MAHOUT-644
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-644
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Utils
>    Affects Versions: 0.4
>            Reporter: Frank Scholten
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: MAHOUT-644.patch, MAHOUT-644.patch
>
>
> LuceneIterable does not throw an exception when it tries to create Mahout 
> vectors from a field without term vectors. It should throw an 
> IllegalStateException and not silently continue and return null vectors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to