You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2012/06/11 23:13:43 UTC

[jira] [Resolved] (SOLR-2352) TermVectorComponent fails with "Undefined Field" errors for score, *, or any Solr 4x psuedo-fields used in the "fl" param.

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org