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

Hoss Man updated SOLR-1556:
---------------------------

        Summary: TermVectorComponents should provide good error messages when 
fieldtype isn't compatible with requested options  (was: TermVectorComponents 
should provide good error messages when fieldtype isn't compatible)
    Description: 
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

  was:
As noted by grant on the email list, TermVectorComponent can't return 
meaningful results unless the field has termVectors="true" but the behavior 
when it's not true is confusing to users.  We should make TVC return a 
meaningful error if it's asked to process a 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


updating hte issue summary/description after re-reading the email thread.

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

Reply via email to