lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2160) Unknown query type 'func'
Date Thu, 21 Oct 2010 14:45:16 GMT

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

Robert Muir commented on SOLR-2160:
-----------------------------------

bq. Its not instantiating. SolrMBean only loads the classes!

I disagree... unless I'm completely wrong about what Class.newInstance() does!

{noformat}
    for( Class clazz : classes ) {
      if( SolrInfoMBean.class.isAssignableFrom( clazz ) ) {
        try {
          SolrInfoMBean info = (SolrInfoMBean)clazz.newInstance();
          
          //System.out.println( info.getClass() );
          assertNotNull( info.getName() );
{noformat}

> 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


Mime
View raw message