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

Suneel Marthi commented on SOLR-788:
------------------------------------

I have Solr 4.1 setup, and trying to execute mlt searches - it doesn't seem to 
be working (unless I am doing something fundamentally wrong).

Here's what I did:-

1. Setup Solr 4.1, modified the <luceneMatchVersion> field in solr config.xml 
to be Lucene_41. Also have the below entry enabled in the config file
    <requestHandler name="/mlt" class="solr.MoreLikeThisHandler">
    </requestHandler>

2. We are running distributed Solr servers (about 30 of them, each pointing to 
their respective shards and the shards are not replicated). There is a Master 
Solr (in addition to the 30 slave Solrs) and all queries are directed to the 
Master.

3. Ran the following mlt query 
   http://localhost:8000/solr/collection1/mlt?q=id%3A[document 
id]&wt=xml&mlt.fl=content&mlt.mindf=1&mlt.mintf=1&fl=id,content

 <id,content> are fields defined in the schema.

4. Below is the response we are seeing
  <response>
    <lst name="responseHeader">
    <int name="status">0</int>
    <int name="QTime">0</int>
  </lst>
  <result name="match" numFound="0" start="0"/>
  <null name="response"/>
</response>

We are not seeing any results returned, earlier we would see some results when 
running the mlt query against one specific Solr server.

Am I doing this right?
                
> MoreLikeThis should support distributed search
> ----------------------------------------------
>
>                 Key: SOLR-788
>                 URL: https://issues.apache.org/jira/browse/SOLR-788
>             Project: Solr
>          Issue Type: Improvement
>          Components: MoreLikeThis
>            Reporter: Grant Ingersoll
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.1, 5.0
>
>         Attachments: AlternateDistributedMLT.patch, MLT.patch, MLT.patch, 
> MoreLikeThisComponentTest.patch, SOLR-788.patch, SOLR-788.patch, 
> SolrMoreLikeThisPatch.txt
>
>
> The MoreLikeThis component should support distributed processing.
> See SOLR-303.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to