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

Mike Anderson commented on SOLR-788:
------------------------------------

Yep, I got that part figured out finally. Unfortunately I'm getting back 0 
results when I pass the shards parameter, as opposed to when it is omited.

http://localhost:8983/solr/select?q=graph&mlt=true&mlt.fl=title&mlt.mindf=1&mlt.mintf=1&fl=id,score,title&shards=localhost:8983/solr

returns:
<lst name="moreLikeThis">
<result name="018639b9dfd5003c20c3ceb29df9d582" numFound="0" start="0" 
maxScore="0.0"/>
<result name="83de9bc1953e36e44df8e95661983183" numFound="0" start="0" 
maxScore="0.0"/>
</lst>

where as 

http://localhost:8983/solr/select?q=graph&mlt=true&mlt.fl=title&mlt.mindf=1&mlt.mintf=1&fl=id,score,title

returns

<lst name="moreLikeThis">
<result name="018639b9dfd5003c20c3ceb29df9d582" numFound="1198" start="0" 
maxScore="3.3357687"/>
   ...result docs
<result name="83de9bc1953e36e44df8e95661983183" numFound="487" start="0" 
maxScore="4.129801"/>
  ...result docs
</lst>


I poked around in the code, but couldn't really make any progress.. Any help 
would be greatly appreciated.

-mike

> MoreLikeThis should support distributed search
> ----------------------------------------------
>
>                 Key: SOLR-788
>                 URL: https://issues.apache.org/jira/browse/SOLR-788
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>         Attachments: MoreLikeThisComponentTest.patch, 
> SolrMoreLikeThisPatch.txt
>
>
> The MoreLikeThis component should support distributed processing.
> See SOLR-303.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to