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

Steve Molloy commented on SOLR-5480:
------------------------------------

[~claudenm] Something is wrong with this stack trace. You actually have 
compilation errors pointing to MLT handler not implementing an abstract method 
of RequestHandlerBase which is implemented in SearchHandler which MLT handler 
extends after applying the patch.
Caused by: java.lang.Error: Unresolved compilation problems: 
  The type MoreLikeThisHandler must implement the inherited abstract method 
RequestHandlerBase.handleRequestBody(SolrQueryRequest, SolrQueryResponse)

After applying the latest patch, is you MoreLikeThisHandler declaration like:
public class MoreLikeThisHandler extends SearchHandler 

I also see you are in eclipse (from the paths), are you running the tests from 
command line or within eclipse? (trying to see where things may differ)

> Make MoreLikeThisHandler distributable
> --------------------------------------
>
>                 Key: SOLR-5480
>                 URL: https://issues.apache.org/jira/browse/SOLR-5480
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Steve Molloy
>            Assignee: Noble Paul
>         Attachments: MoreLikeThisHandlerTestST.txt, SOLR-5480.patch, 
> SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, 
> SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch
>
>
> The MoreLikeThis component, when used in the standard search handler supports 
> distributed searches. But the MoreLikeThisHandler itself doesn't, which 
> prevents from say, passing in text to perform the query. I'll start looking 
> into adapting the SearchHandler logic to the MoreLikeThisHandler. If anyone 
> has some work done already and want to share, or want to contribute, any help 
> will be welcomed. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to