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

Hoss Man resolved SOLR-2352.
----------------------------

    Resolution: Fixed

Committed revision 1349012. - trunk
Committed revision 1349013.  - 4x

                
> TermVectorComponent fails with "Undefined Field" errors for score, *, or any 
> Solr 4x psuedo-fields used in the "fl" param.
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2352
>                 URL: https://issues.apache.org/jira/browse/SOLR-2352
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other
>    Affects Versions: 3.1
>         Environment: Ubuntu 10.04/Arch solr 3.x branch r1058326
>            Reporter: Jed Glazner
>            Assignee: Hoss Man
>             Fix For: 4.0
>
>         Attachments: SOLR-2352.patch
>
>
> When searching using the term vector components and setting fl=*,score the 
> result is a http 400 error 'undefined field: *'. If you disable the tvc the 
> search works properly.
> Example bad request...
> {code}http://localhost:8983/solr/select/?qt=tvrh&q=includes:[*+TO+*]&fl=*{code}
> 3.1 stack trace:
> {noformat}
> SEVERE: org.apache.solr.common.SolrException: undefined field: *
>    at 
> org.apache.solr.handler.component.TermVectorComponent.process(TermVectorComponent.java:142)
> ...
> {noformat}
> The work around is to explicitly use the tv.fl param when using psuedo-fields 
> in the fl...
> {code}http://localhost:8983/solr/select/?qt=tvrh&q=includes:[*+TO+*]&fl=*&tv.fl=includes{code}

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to