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

Grant Ingersoll updated SOLR-1556:
----------------------------------

    Attachment: SOLR-1556.patch

Here's a patch, with tests, that fixes all the issues raised.  See 
http://wiki.apache.org/solr/TermVectorComponent for more details on the new per 
field options and the error messages.

> TermVectorComponents should provide good error messages when fieldtype isn't 
> compatible with requested options
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1556
>                 URL: https://issues.apache.org/jira/browse/SOLR-1556
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.4
>            Reporter: Hoss Man
>            Assignee: Grant Ingersoll
>             Fix For: Next
>
>         Attachments: SOLR-1556.patch
>
>
> As noted by grant on the email list, asking TermVectorComponent for things 
> like termVectors, positions, and offsets can't produce meaningful results 
> unless the field in question has the corrisponding schema option set to true 
> -- but the behavior of TVC when they not true is confusing to users. 
> We should make TVC return a meaningful error if it's asked to return  a 
> certain type of info for field that it can't deal with - something making it 
> clear what properties of hte schema need to be changed to make it work...
> http://old.nabble.com/Re%3A-TermVectorComponent-%3A-Required---Optional-Parameters-p26181454.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to