You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2010/10/21 16:13:18 UTC

[jira] Issue Comment Edited: (SOLR-2160) Unknown query type 'func'

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

Uwe Schindler edited comment on SOLR-2160 at 10/21/10 10:12 AM:
----------------------------------------------------------------

The problem seems to be one of the solr classes that does some static initialization that depends e.g. on a SolrCore be available. If this class is initialized before (e.g. in SolrMBeanTest) and no SolrCore or other part is available, it fails. The SolrMBean test is not the bug, it's the class that does static initialization! How gets the func QP be enabled? Is the info about it cached in a static field? Something like that causes this issue.

      was (Author: thetaphi):
    The problem seems to be one of the solr classes that does some static initialization that depends e.g. on a SolrCore be available. If this class is initialized before (e.g. in SolrMBeanTest) it fails. The SolrMBean test is not the bug its the class that does static initialization. How gets the func QP be enabled? is the infor about it cached in a staic var? Something like that causes this issue.
  
> Unknown query type 'func'
> -------------------------
>
>                 Key: SOLR-2160
>                 URL: https://issues.apache.org/jira/browse/SOLR-2160
>             Project: Solr
>          Issue Type: Test
>          Components: Build
>    Affects Versions: 3.1, 4.0
>         Environment: Hudson
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>
> Several test methods in TestTrie failed in hudson, with errors such as this:
> Caused by: org.apache.solr.common.SolrException: Unknown query type 'func'

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