You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Mike Anderson (JIRA)" <ji...@apache.org> on 2009/08/19 18:01:16 UTC
[jira] Issue Comment Edited: (SOLR-788) MoreLikeThis should support
distributed search
[ https://issues.apache.org/jira/browse/SOLR-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745079#action_12745079 ]
Mike Anderson edited comment on SOLR-788 at 8/19/09 9:00 AM:
-------------------------------------------------------------
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>
However, perhaps more pressing is that when the shards param is set my spellCheck component stops responding (I had to apply the distributed spellcheck patch as well). yikes...
I poked around in the code, but couldn't really make any progress.. Any help would be greatly appreciated.
-mike
was (Author: cambridgemike):
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.