You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Rasehorn (Commented) (JIRA)" <ji...@apache.org> on 2011/12/23 10:38:30 UTC

[jira] [Commented] (SOLR-2352) HTTP 400 Undefined Filed: * with TV component enabled.

    [ https://issues.apache.org/jira/browse/SOLR-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175356#comment-13175356 ] 

Jan Rasehorn commented on SOLR-2352:
------------------------------------

This issue breaks SOLR-2444, since solr returns the same error for transformers and functions used in the fl-parameter. I solved the problem by disabling the term vector component in solrconfig.xml.
                
> HTTP 400 Undefined Filed: * with TV component enabled.
> ------------------------------------------------------
>
>                 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
>             Fix For: 4.0
>
>
> 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.
> stack trace:
>  853 SEVERE: org.apache.solr.common.SolrException: undefined field: *
>  854   at org.apache.solr.handler.component.TermVectorComponent.process(TermVectorComponent.java:142)
>  855   at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194)
>  856   at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>  857   at org.apache.solr.core.SolrCore.execute(SolrCore.java:1357)
>  858   at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:341)
>  859   at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:244)
>  860   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>  861   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>  862   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>  863   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>  864   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>  865   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>  866   at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>  867   at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>  868   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>  869   at org.mortbay.jetty.Server.handle(Server.java:326)
>  870   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>  871   at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
>  872   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>  873   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>  874   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>  875   at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
>  876   at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

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