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

Matthew Woytowitz updated SOLR-788:
-----------------------------------

    Attachment: MoreLikeThisComponentTest.patch

Add some test cases, by no means complete.

Description of Changes made for moreLikeThisComponent:


Added a new purpose to ShardRequest
  This for new shard requests to execute boolean query that is now returned 
when isShard is true from process.

Added method HandleResponse.
  Creates shard request for each element return in moreLikeThis during 
EXEC_QUERY stage.  Every shard executes the MoreLikeThis query to find the best 
matches for a given document.

Added finishedStage

Checks if stage is GET_FIELDS and MLT == true.  Loops through every shard 
reponse and finds those with the new MLT_RESULTS purpose and adds them to the 
response after they are sorted and trimmed for length and verified they are in 
the response.



> 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