[jira] [Created] (SOLR-3728) PhoneticFilterFactory should load encoder via SolrResourceLoader

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (SOLR-3728) PhoneticFilterFactory should load encoder via SolrResourceLoader

JIRA jira@apache.org
David Smiley created SOLR-3728:
----------------------------------

             Summary: PhoneticFilterFactory should load encoder via SolrResourceLoader
                 Key: SOLR-3728
                 URL: https://issues.apache.org/jira/browse/SOLR-3728
             Project: Solr
          Issue Type: Bug
            Reporter: David Smiley
            Priority: Minor


PhoneticFilterFactory allows the encoder attribute to be a full Java class name.  It uses Class.forName to look it up which is not what it should do since it will fail to find the class if the encoder class is in a jar referred to buy solrconfig.xml.  You shouldn't have to crack open the Solr war to place these in the WEB-INF lib but that's what I had to do.

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Assigned] (SOLR-3728) PhoneticFilterFactory should load encoder via SolrResourceLoader

JIRA jira@apache.org

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

David Smiley reassigned SOLR-3728:
----------------------------------

    Assignee: David Smiley
   

> PhoneticFilterFactory should load encoder via SolrResourceLoader
> ----------------------------------------------------------------
>
>                 Key: SOLR-3728
>                 URL: https://issues.apache.org/jira/browse/SOLR-3728
>             Project: Solr
>          Issue Type: Bug
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>
> PhoneticFilterFactory allows the encoder attribute to be a full Java class name.  It uses Class.forName to look it up which is not what it should do since it will fail to find the class if the encoder class is in a jar referred to buy solrconfig.xml.  You shouldn't have to crack open the Solr war to place these in the WEB-INF lib but that's what I had to do.

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SOLR-3728) PhoneticFilterFactory should load encoder via SolrResourceLoader

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

David Smiley commented on SOLR-3728:
------------------------------------

FYI this should have been filed under the Lucene project since the factories moved -- a recent event.
               

> PhoneticFilterFactory should load encoder via SolrResourceLoader
> ----------------------------------------------------------------
>
>                 Key: SOLR-3728
>                 URL: https://issues.apache.org/jira/browse/SOLR-3728
>             Project: Solr
>          Issue Type: Bug
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>
> PhoneticFilterFactory allows the encoder attribute to be a full Java class name.  It uses Class.forName to look it up which is not what it should do since it will fail to find the class if the encoder class is in a jar referred to buy solrconfig.xml.  You shouldn't have to crack open the Solr war to place these in the WEB-INF lib but that's what I had to do.

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (SOLR-3728) PhoneticFilterFactory should load encoder via SolrResourceLoader

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

David Smiley closed SOLR-3728.
------------------------------

    Resolution: Duplicate
   

> PhoneticFilterFactory should load encoder via SolrResourceLoader
> ----------------------------------------------------------------
>
>                 Key: SOLR-3728
>                 URL: https://issues.apache.org/jira/browse/SOLR-3728
>             Project: Solr
>          Issue Type: Bug
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>
> PhoneticFilterFactory allows the encoder attribute to be a full Java class name.  It uses Class.forName to look it up which is not what it should do since it will fail to find the class if the encoder class is in a jar referred to buy solrconfig.xml.  You shouldn't have to crack open the Solr war to place these in the WEB-INF lib but that's what I had to do.

--
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: [hidden email]
For additional commands, e-mail: [hidden email]